summaryrefslogtreecommitdiff
path: root/scripts/PokemonTower7F.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 11:01:21 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 11:01:21 -0500
commit45eaaf835cc8b1483e0de059f38d128f42340b71 (patch)
tree37666a0e603f6b6235ba4761a4fc3e566e63d078 /scripts/PokemonTower7F.asm
parent62f64aa793c25b96109a5bf9c1fdf57257f4524f (diff)
Identify wSpriteStateData[12] offset uses
Diffstat (limited to 'scripts/PokemonTower7F.asm')
-rwxr-xr-xscripts/PokemonTower7F.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/PokemonTower7F.asm b/scripts/PokemonTower7F.asm
index 75e67a72..ed128b3d 100755
--- a/scripts/PokemonTower7F.asm
+++ b/scripts/PokemonTower7F.asm
@@ -98,14 +98,14 @@ PokemonTower7Script2:
ret nz
PokemonTower7Script3:
ld a, $0
- ld [wSpriteStateData1 + 1 * $10 + 9], a
+ ld [wSprite01StateData1FacingDirection], a
CheckEvent EVENT_BEAT_POKEMONTOWER_7_TRAINER_1
jr z, .asm_60dba
ld a, $c
- ld [wSpriteStateData1 + 1 * $10 + 9], a
+ ld [wSprite01StateData1FacingDirection], a
.asm_60dba
ld a, $2
- ld [wSpriteStateData1 + 1 * $10 + 1], a
+ ld [wSprite01StateData1MovementStatus], a
PokemonTower7Script4:
ld de, PokemonTower7MovementData_60d7a
CheckEvent EVENT_BEAT_POKEMONTOWER_7_TRAINER_1
@@ -128,13 +128,13 @@ PokemonTower7Script5:
ret nz
PokemonTower7Script6:
ld a, $2
- ld [wSpriteStateData1 + $2 * $10 + $1], a
+ ld [wSprite02StateData1MovementStatus], a
ld a, $8
- ld [wSpriteStateData1 + $2 * $10 + $9], a
+ ld [wSprite02StateData1FacingDirection], a
CheckEvent EVENT_BEAT_POKEMONTOWER_7_TRAINER_1
jr z, .asm_60dff
ld a, $0
- ld [wSpriteStateData1 + $2 * $10 + $9], a
+ ld [wSprite02StateData1FacingDirection], a
.asm_60dff
call Delay3
ld a, $FF ^ (A_BUTTON | B_BUTTON)
@@ -167,11 +167,11 @@ PokemonTower7Script8:
cp $ff
jp z, PokemonTower7Script_60d01
ld a, $2
- ld [wSpriteStateData1 + 1 * $10 + 1], a
- ld [wSpriteStateData1 + 2 * $10 + 1], a
+ ld [wSprite01StateData1MovementStatus], a
+ ld [wSprite02StateData1MovementStatus], a
xor a
- ld [wSpriteStateData1 + 1 * $10 + 9], a
- ld [wSpriteStateData1 + 2 * $10 + 9], a
+ ld [wSprite01StateData1FacingDirection], a
+ ld [wSprite02StateData1FacingDirection], a
ld a, $FF ^ (A_BUTTON | B_BUTTON)
ld [wJoyIgnore], a
ld a, $1