diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-05 17:29:11 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-05 17:51:29 -0400 |
| commit | 2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e (patch) | |
| tree | a418c4ef57d272e7e2a70337ac8c2a8194545541 /engine/overworld/auto_movement.asm | |
| parent | 7ab43f4d17aa63d4ef1050d80560379f19200088 (diff) | |
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
Diffstat (limited to 'engine/overworld/auto_movement.asm')
| -rwxr-xr-x | engine/overworld/auto_movement.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/auto_movement.asm b/engine/overworld/auto_movement.asm index 421e3180..5e70ab8c 100755 --- a/engine/overworld/auto_movement.asm +++ b/engine/overworld/auto_movement.asm @@ -12,7 +12,7 @@ PlayerStepOutFromDoor:: ld a, D_DOWN ld [wSimulatedJoypadStatesEnd], a xor a - ld [wSpriteStateData1 + 2], a + ld [wSpritePlayerStateData1ImageIndex], a call StartSimulatingJoypadStates ret .notStandingOnDoor @@ -110,7 +110,7 @@ PalletMovementScript_WalkToLab: swap a ld [wNPCMovementScriptSpriteOffset], a xor a - ld [wSpriteStateData2 + $06], a + ld [wSpritePlayerStateData2MovementByte1], a ld hl, wSimulatedJoypadStatesEnd ld de, RLEList_PlayerWalkToLab call DecodeRLEList @@ -228,7 +228,7 @@ PewterMovementScript_WalkToGym: swap a ld [wNPCMovementScriptSpriteOffset], a xor a - ld [wSpriteStateData2 + $06], a + ld [wSpritePlayerStateData2MovementByte1], a ld hl, wSimulatedJoypadStatesEnd ld de, RLEList_PewterGymPlayer call DecodeRLEList |
