summaryrefslogtreecommitdiff
path: root/scripts/PewterCity.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-11-07 21:28:20 -0600
committerGitHub <noreply@github.com>2020-11-07 21:28:20 -0600
commitedf375aff14e54bd54e7a25780fe8b714691ccc7 (patch)
tree015c63e79e4a245c28f72b18954f2a845d30271c /scripts/PewterCity.asm
parent338f1276b48ce1394cb9de52b7646e9f8618b1b9 (diff)
parentead36b7ba24413fe0f4423ee1efa6fe88bab0a3c (diff)
Merge pull request #63 from dannye/debug
Debug Yellow
Diffstat (limited to 'scripts/PewterCity.asm')
-rwxr-xr-xscripts/PewterCity.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/PewterCity.asm b/scripts/PewterCity.asm
index 26827bef..c1c2d190 100755
--- a/scripts/PewterCity.asm
+++ b/scripts/PewterCity.asm
@@ -26,6 +26,10 @@ PewterCityScript0:
PewterCityScript_1925e:
CheckEvent EVENT_BEAT_BROCK
ret nz
+IF DEF(_DEBUG)
+ call DebugPressedOrHeldB
+ ret nz
+ENDC
ld hl, CoordsData_19277
call ArePlayerCoordsInArray
ret nc