aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/npc_movement.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-06-27 15:32:24 -0400
committerGitHub <noreply@github.com>2020-06-27 15:32:24 -0400
commit4b853ad676e061a6c4b0fcc030855a2705776864 (patch)
treea6d6f2976827862f4a5f402e92c8479ccf7fb349 /engine/overworld/npc_movement.asm
parentMerge pull request #250 from Rangi42/master (diff)
downloadpokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.tar.gz
pokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.tar.xz
pokeyellow-4b853ad676e061a6c4b0fcc030855a2705776864.zip
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm (#251)
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
Diffstat (limited to 'engine/overworld/npc_movement.asm')
-rwxr-xr-xengine/overworld/npc_movement.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/overworld/npc_movement.asm b/engine/overworld/npc_movement.asm
index 968615f0..e478c9ad 100755
--- a/engine/overworld/npc_movement.asm
+++ b/engine/overworld/npc_movement.asm
@@ -1,4 +1,4 @@
-PlayerStepOutFromDoor:
+PlayerStepOutFromDoor::
ld hl, wd730
res 1, [hl]
call IsPlayerStandingOnDoorTile
@@ -27,7 +27,7 @@ PlayerStepOutFromDoor:
res 7, [hl]
ret
-_EndNPCMovementScript:
+_EndNPCMovementScript::
ld hl, wd730
res 7, [hl]
ld hl, wd72e
@@ -44,7 +44,7 @@ _EndNPCMovementScript:
ld [wSimulatedJoypadStatesEnd], a
ret
-PalletMovementScriptPointerTable:
+PalletMovementScriptPointerTable::
dw PalletMovementScript_OakMoveLeft
dw PalletMovementScript_PlayerMoveLeft
dw PalletMovementScript_WaitAndWalkToLab
@@ -157,7 +157,7 @@ PalletMovementScript_Done:
res 7, [hl]
jp EndNPCMovementScript
-PewterMuseumGuyMovementScriptPointerTable:
+PewterMuseumGuyMovementScriptPointerTable::
dw PewterMovementScript_WalkToMuseum
dw PewterMovementScript_Done
@@ -213,7 +213,7 @@ PewterMovementScript_Done:
res 7, [hl]
jp EndNPCMovementScript
-PewterGymGuyMovementScriptPointerTable:
+PewterGymGuyMovementScriptPointerTable::
dw PewterMovementScript_WalkToGym
dw PewterMovementScript_Done
@@ -266,7 +266,7 @@ RLEList_PewterGymGuy:
db NPC_MOVEMENT_RIGHT, $03
db $FF
-FreezeEnemyTrainerSprite:
+FreezeEnemyTrainerSprite::
ld a, [wCurMap]
cp POKEMON_TOWER_7F
ret z ; the Rockets on Pokemon Tower 7F leave after battling, so don't freeze them