aboutsummaryrefslogtreecommitdiffstats
path: root/home/npc_movement.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-11-20 00:33:27 -0600
committerdannye <33dannye@gmail.com>2023-11-20 20:23:27 -0600
commit298e99d3776580585c3f434e5d93137ae431bdd3 (patch)
treea808c4ffd0fd0f9bd28972bae5236e0d3345c8e5 /home/npc_movement.asm
parentAdd sound bits documentation for wOptions (#110) (diff)
parentName 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) (diff)
downloadpokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.gz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.xz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/npc_movement.asm')
-rw-r--r--home/npc_movement.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/npc_movement.asm b/home/npc_movement.asm
index 40942bf3..cc40b1af 100644
--- a/home/npc_movement.asm
+++ b/home/npc_movement.asm
@@ -48,7 +48,9 @@ RunNPCMovementScript::
EndNPCMovementScript::
farjp _EndNPCMovementScript
-DebugPressedOrHeldB::
+DebugPressedOrHeldB:: ; dummy except in _DEBUG
+; This is used to skip Trainer battles, the
+; Safari Game step counter, and some NPC scripts.
IF DEF(_DEBUG)
ldh a, [hJoyHeld]
bit BIT_B_BUTTON, a