summaryrefslogtreecommitdiff
path: root/scripts/PalletTown.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 19:59:41 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 19:59:41 -0400
commit35deb771130a9012ee4494b1db097761f2fe2919 (patch)
treef47b099cdb4a165dc0a5b0e85f2e24780629680f /scripts/PalletTown.asm
parent55bb99580eeccc92106437c4ad86edb8ca89ecda (diff)
H_CONSTANTNAMES -> hConstantNames
Diffstat (limited to 'scripts/PalletTown.asm')
-rwxr-xr-xscripts/PalletTown.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/PalletTown.asm b/scripts/PalletTown.asm
index 4c6ab015..ff500ca0 100755
--- a/scripts/PalletTown.asm
+++ b/scripts/PalletTown.asm
@@ -61,7 +61,7 @@ PalletTownScript1:
PalletTownScript2:
ld a, 1
- ld [H_SPRITEINDEX], a
+ ld [hSpriteIndex], a
ld a, SPRITE_FACING_UP
ld [hSpriteFacingDirection], a
call SetSpriteFacingDirectionAndDelay
@@ -79,7 +79,7 @@ PalletTownScript2:
predef FindPathToPlayer ; load Oak’s movement into wNPCMovementDirections2
ld de, wNPCMovementDirections2
ld a, 1 ; oak
- ld [H_SPRITEINDEX], a
+ ld [hSpriteIndex], a
call MoveSprite
ld a, $FF
ld [wJoyIgnore], a
@@ -111,7 +111,7 @@ PalletTownScript3:
ld [wNPCMovementScriptFunctionNum], a
ld a, 1
ld [wNPCMovementScriptPointerTableNum], a
- ld a, [H_LOADEDROMBANK]
+ ld a, [hLoadedROMBank]
ld [wNPCMovementScriptBank], a
; trigger the next script