summaryrefslogtreecommitdiff
path: root/scripts/indigoplateaulobby.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-18 14:19:10 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-18 14:19:10 -0400
commit24c01b09bb2b617812bd826d1cf9ab5e3ec6a023 (patch)
tree07d2ed81b23de081f2003d9f8d50170344dd5ada /scripts/indigoplateaulobby.asm
parent4e4e72d02a5a202daea3a73363d2a4c3ba34e724 (diff)
Pull map scripts out of main.asm
Diffstat (limited to 'scripts/indigoplateaulobby.asm')
-rwxr-xr-xscripts/indigoplateaulobby.asm41
1 files changed, 41 insertions, 0 deletions
diff --git a/scripts/indigoplateaulobby.asm b/scripts/indigoplateaulobby.asm
new file mode 100755
index 00000000..861939b6
--- /dev/null
+++ b/scripts/indigoplateaulobby.asm
@@ -0,0 +1,41 @@
+IndigoPlateauLobbyScript: ; 19c5b (6:5c5b)
+ call Func_22fa
+ call EnableAutoTextBoxDrawing
+ ld hl, $d126
+ bit 6, [hl]
+ res 6, [hl]
+ ret z
+ ld hl, $d869
+ res 7, [hl]
+ ld hl, $d734
+ bit 1, [hl]
+ res 1, [hl]
+ ret z
+ ld hl, $d863
+ xor a
+ ld [hli], a
+ ld [hli], a
+ ld [hli], a
+ ld [hl], a
+ ret
+
+IndigoPlateauLobbyTextPointers: ; 19c7f (6:5c7f)
+ dw IndigoPlateauLobbyText1
+ dw IndigoPlateauLobbyText2
+ dw IndigoPlateauLobbyText3
+ dw IndigoPlateauLobbyText4
+ dw IndigoPlateauLobbyText5
+
+IndigoPlateauLobbyText1: ; 19c89 (6:5c89)
+ db $ff
+
+IndigoPlateauLobbyText2: ; 19c8a (6:5c8a)
+ TX_FAR _IndigoPlateauLobbyText1
+ db "@"
+
+IndigoPlateauLobbyText3: ; 19c8f (6:5c8f)
+ TX_FAR _IndigoPlateauLobbyText3
+ db "@"
+
+IndigoPlateauLobbyText5: ; 19c94 (6:5c94)
+ db $f6