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/SilphCo11F.asm | |
| parent | Define OAM_HIGH_PALS for %100 in OAM attributes (diff) | |
| download | pokeyellow-45eaaf835cc8b1483e0de059f38d128f42340b71.tar.gz pokeyellow-45eaaf835cc8b1483e0de059f38d128f42340b71.tar.xz pokeyellow-45eaaf835cc8b1483e0de059f38d128f42340b71.zip | |
Identify wSpriteStateData[12] offset uses
Diffstat (limited to 'scripts/SilphCo11F.asm')
| -rwxr-xr-x | scripts/SilphCo11F.asm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/SilphCo11F.asm b/scripts/SilphCo11F.asm index 113ceecc..725a5ab3 100755 --- a/scripts/SilphCo11F.asm +++ b/scripts/SilphCo11F.asm @@ -141,9 +141,9 @@ MovementData_62216: SilphCo11Script_621ff: ld [wPlayerMovingDirection], a ld a, b - ld [wSpriteStateData1 + 3 * $10 + 9], a + ld [wSprite03StateData1FacingDirection], a ld a, $2 - ld [wSpriteStateData1 + 3 * $10 + 1], a + ld [wSprite03StateData1MovementStatus], a ret SilphCo11Script3: @@ -324,8 +324,8 @@ SilphCo11Script6: ret nz SilphCo11Script7: ld a, $2 - ld [wSpriteStateData1 + 4 * $10 + 1], a - ld hl, wSpriteStateData1 + 4 * $10 + 9 + ld [wSprite04StateData1MovementStatus], a + ld hl, wSprite04StateData1FacingDirection ld [hl], SPRITE_FACING_RIGHT CheckEitherEventSet EVENT_780, EVENT_781 and a @@ -364,8 +364,8 @@ SilphCo11Script9: ld [wJoyIgnore], a SilphCo11Script10: ld a, $2 - ld [wSpriteStateData1 + 6 * $10 + 1], a - ld hl, wSpriteStateData1 + 6 * $10 + 9 + ld [wSprite06StateData1MovementStatus], a + ld hl, wSprite06StateData1FacingDirection ld [hl], SPRITE_FACING_UP CheckEitherEventSet EVENT_780, EVENT_781 and a @@ -401,11 +401,11 @@ SilphCo11Script12: cp $ff jp z, SilphCo11Script_62185 ld a, $2 - ld [wSpriteStateData1 + 4 * $10 + 1], a - ld [wSpriteStateData1 + 6 * $10 + 1], a + ld [wSprite04StateData1MovementStatus], a + ld [wSprite06StateData1MovementStatus], a xor a - ld [wSpriteStateData1 + 4 * $10 + 9], a - ld [wSpriteStateData1 + 6 * $10 + 9], a + ld [wSprite04StateData1FacingDirection], a + ld [wSprite06StateData1FacingDirection], a ld a, $fc ld [wJoyIgnore], a ld a, $1 |
