mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
H_CONSTANTNAMES -> hConstantNames
This commit is contained in:
parent
55bb99580e
commit
35deb77113
104 changed files with 1163 additions and 1164 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue