aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:21 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:21 -0500
commit205fd1ac81c2d1dcec010c478979bd6159edc72d (patch)
tree00b70faa84c87265b6ee4e68f0df1fc4946afca2 /engine/battle
parentProper translation comments in debug_menu.asm (diff)
downloadpokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.tar.gz
pokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.tar.xz
pokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.zip
Identify hUILayoutFlags and hPikachuSpriteVRAMOffset
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/core.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 053d6a1e..79defa33 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2579,13 +2579,13 @@ MoveSelectionMenu:
.writemoves
ld de, wMovesString
- ldh a, [hFlagsFFFA]
+ ldh a, [hUILayoutFlags]
set 2, a
- ldh [hFlagsFFFA], a
+ ldh [hUILayoutFlags], a
call PlaceString
- ldh a, [hFlagsFFFA]
+ ldh a, [hUILayoutFlags]
res 2, a
- ldh [hFlagsFFFA], a
+ ldh [hUILayoutFlags], a
ret
.regularmenu
@@ -2700,10 +2700,10 @@ SelectMenuItem:
call AddNTimes
ld [hl], "▷"
.select
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
set 1, [hl]
call HandleMenuInput
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
res 1, [hl]
bit BIT_D_UP, a
jp nz, SelectMenuItem_CursorUp