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/route18gateupstairs.asm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 scripts/route18gateupstairs.asm (limited to 'scripts/route18gateupstairs.asm') diff --git a/scripts/route18gateupstairs.asm b/scripts/route18gateupstairs.asm new file mode 100755 index 00000000..d9164d1d --- /dev/null +++ b/scripts/route18gateupstairs.asm @@ -0,0 +1,33 @@ +Route18GateUpstairsScript: ; 49975 (12:5975) + jp DisableAutoTextBoxDrawing + +Route18GateUpstairsTextPointers: ; 49978 (12:5978) + dw Route18GateUpstairsText1 + dw Route18GateUpstairsText2 + dw Route18GateUpstairsText3 + +Route18GateUpstairsText1: ; 4997e (12:597e) + db $08 ; asm + ld a, $5 + ld [wWhichTrade], a + ld a, $54 + call Predef + jp TextScriptEnd + +Route18GateUpstairsText2: ; 4998c (12:598c) + db $8 + ld hl, Route18GateUpstairsText_49993 ; $5993 + jp Route12GateUpstairsScript_495c9 + +Route18GateUpstairsText_49993: ; 49993 (12:5993) + TX_FAR _Route18GateUpstairsText_49993 + db "@" + +Route18GateUpstairsText3: ; 49998 (12:5998) + db $8 + ld hl, Route18GateUpstairsText_4999f ; $599f + jp Route12GateUpstairsScript_495c9 + +Route18GateUpstairsText_4999f: ; 4999f (12:599f) + TX_FAR _Route18GateUpstairsText_4999f + db "@" -- cgit v1.3.1-sl0p