aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon/status_screen.asm
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2020-11-29 20:17:29 +0000
committerSatoMew <SatoMew@users.noreply.github.com>2020-11-29 20:17:29 +0000
commit242b2e05cf30bc47a53167baf6bd3134d1f47d18 (patch)
tree83570d3571ff4eaa71de363f02b3ef16f26b0313 /engine/pokemon/status_screen.asm
parentKeep wGrassMons and wWaterMons together with a UNION (diff)
downloadpokeyellow-242b2e05cf30bc47a53167baf6bd3134d1f47d18.tar.gz
pokeyellow-242b2e05cf30bc47a53167baf6bd3134d1f47d18.tar.xz
pokeyellow-242b2e05cf30bc47a53167baf6bd3134d1f47d18.zip
Label and document hFFD7 more accurately
Diffstat (limited to 'engine/pokemon/status_screen.asm')
-rw-r--r--engine/pokemon/status_screen.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/pokemon/status_screen.asm b/engine/pokemon/status_screen.asm
index d4a4e59a..33fef9e4 100644
--- a/engine/pokemon/status_screen.asm
+++ b/engine/pokemon/status_screen.asm
@@ -101,10 +101,10 @@ StatusScreen:
ld hl, vChars2 tile $72
lb bc, BANK(PTile), 1
call CopyVideoDataDouble ; bold P (for PP)
- ldh a, [hTilesetType]
+ ldh a, [hTileAnimations]
push af
xor a
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
hlcoord 19, 1
lb bc, 6, 10
call DrawLineBox ; Draws the box around name, HP and status
@@ -174,7 +174,7 @@ StatusScreen:
call PlayCry ; play Pokémon cry
call WaitForTextScrollButtonPress ; wait for button
pop af
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
ret
.GetStringPointer
@@ -296,10 +296,10 @@ StatsText:
next "SPECIAL@"
StatusScreen2:
- ldh a, [hTilesetType]
+ ldh a, [hTileAnimations]
push af
xor a
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
ldh [hAutoBGTransferEnabled], a
ld bc, NUM_MOVES + 1
ld hl, wMoves
@@ -429,7 +429,7 @@ StatusScreen2:
call Delay3
call WaitForTextScrollButtonPress ; wait for button
pop af
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
ld hl, wd72c
res 1, [hl]
ld a, $77