aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/CeruleanCity_2.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-01-13 22:38:16 -0600
committerGitHub <noreply@github.com>2019-01-13 22:38:16 -0600
commit725b86ebbec23bd1f53fd60bf0201c904fee951d (patch)
treea37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/CeruleanCity_2.asm
parentMerge pull request #195 from Rangi42/master (diff)
parentRename map files, labels, and constants to be consistent and work with Polish... (diff)
downloadpokeyellow-725b86ebbec23bd1f53fd60bf0201c904fee951d.tar.gz
pokeyellow-725b86ebbec23bd1f53fd60bf0201c904fee951d.tar.xz
pokeyellow-725b86ebbec23bd1f53fd60bf0201c904fee951d.zip
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/CeruleanCity_2.asm')
-rwxr-xr-xscripts/CeruleanCity_2.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/CeruleanCity_2.asm b/scripts/CeruleanCity_2.asm
new file mode 100755
index 00000000..53ace5c8
--- /dev/null
+++ b/scripts/CeruleanCity_2.asm
@@ -0,0 +1,16 @@
+CeruleanHideRocket:
+; code similar to this appears in a lot of banks; this particular
+; one is called after you beat the Rocket that gives you TM28 DIG.
+; the screen then fades out, he disappears, and fades back in
+ call GBFadeOutToBlack
+ ld a, HS_CERULEAN_GUARD_1
+ ld [wMissableObjectIndex], a
+ predef ShowObject
+ ld a, HS_CERULEAN_GUARD_2
+ ld [wMissableObjectIndex], a
+ predef HideObject
+ ld a, HS_CERULEAN_ROCKET
+ ld [wMissableObjectIndex], a
+ predef HideObject
+ call GBFadeInFromBlack
+ ret