From 24c01b09bb2b617812bd826d1cf9ab5e3ec6a023 Mon Sep 17 00:00:00 2001 From: "U-Fish-PC\\Daniel" Date: Sun, 18 May 2014 14:19:10 -0400 Subject: Pull map scripts out of main.asm --- scripts/indigoplateaulobby.asm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 scripts/indigoplateaulobby.asm (limited to 'scripts/indigoplateaulobby.asm') 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 -- cgit v1.2.3