aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/spinners.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-07-10 21:11:03 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-07-10 21:27:24 -0400
commit96656fdc69964c2f4d7e0ce2c3dbfd1729f75af0 (patch)
tree103935618b8f9c8050b37fd4e51387e0a6fe0099 /engine/overworld/spinners.asm
parentReplace "branch" labels in SFX files with local names (diff)
downloadpokeyellow-96656fdc69964c2f4d7e0ce2c3dbfd1729f75af0.tar.gz
pokeyellow-96656fdc69964c2f4d7e0ce2c3dbfd1729f75af0.tar.xz
pokeyellow-96656fdc69964c2f4d7e0ce2c3dbfd1729f75af0.zip
Identify some `.asm_*` labels
Diffstat (limited to 'engine/overworld/spinners.asm')
-rw-r--r--engine/overworld/spinners.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/overworld/spinners.asm b/engine/overworld/spinners.asm
index 0ac6380d..98b478c4 100644
--- a/engine/overworld/spinners.asm
+++ b/engine/overworld/spinners.asm
@@ -11,18 +11,18 @@ LoadSpinnerArrowTiles::
ld a, [wCurMapTileset]
cp FACILITY
ld hl, FacilitySpinnerArrows
- jr z, .asm_44ff6
+ jr z, .gotSpinnerArrows
ld hl, GymSpinnerArrows
-.asm_44ff6
+.gotSpinnerArrows
ld a, [wSimulatedJoypadStatesIndex]
bit 0, a
- jr nz, .asm_45001
- ld de, $18
+ jr nz, .alternateGraphics
+ ld de, 6 * 4
add hl, de
-.asm_45001
+.alternateGraphics
ld a, $4
ld bc, $0
-.asm_45006
+.loop
push af
push hl
push bc
@@ -46,7 +46,7 @@ LoadSpinnerArrowTiles::
pop hl
pop af
dec a
- jr nz, .asm_45006
+ jr nz, .loop
ret
INCLUDE "data/tilesets/spinner_tiles.asm"