diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 11:01:21 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 11:01:21 -0500 |
commit | 45eaaf835cc8b1483e0de059f38d128f42340b71 (patch) | |
tree | 37666a0e603f6b6235ba4761a4fc3e566e63d078 /scripts/OaksLab.asm | |
parent | 62f64aa793c25b96109a5bf9c1fdf57257f4524f (diff) |
Identify wSpriteStateData[12] offset uses
Diffstat (limited to 'scripts/OaksLab.asm')
-rwxr-xr-x | scripts/OaksLab.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/OaksLab.asm b/scripts/OaksLab.asm index a369abed..0d995a66 100755 --- a/scripts/OaksLab.asm +++ b/scripts/OaksLab.asm @@ -141,9 +141,9 @@ OaksLabScript5: call DisplayTextID call Delay3 ld a, $2 - ld [wSpriteStateData1 + 1 * $10 + 1], a + ld [wSprite01StateData1MovementStatus], a ld a, SPRITE_FACING_UP - ld [wSpriteStateData1 + 1 * $10 + 9], a + ld [wSprite01StateData1FacingDirection], a ld a, $f ldh [hSpriteIndexOrTextID], a call DisplayTextID @@ -387,9 +387,9 @@ OaksLabScript14: ld [wSpriteIndex], a call SetSpritePosition1 ld a, $2 - ld [wSpriteStateData1 + 1 * $10 + 1], a + ld [wSprite01StateData1MovementStatus], a xor a - ld [wSpriteStateData1 + 1 * $10 + 9], a + ld [wSprite01StateData1FacingDirection], a predef HealParty SetEvent EVENT_BATTLED_RIVAL_IN_OAKS_LAB ld a, $f |