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/celadonmansion5.asm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 scripts/celadonmansion5.asm (limited to 'scripts/celadonmansion5.asm') diff --git a/scripts/celadonmansion5.asm b/scripts/celadonmansion5.asm new file mode 100755 index 00000000..1d03ae5e --- /dev/null +++ b/scripts/celadonmansion5.asm @@ -0,0 +1,22 @@ +CeladonMansion5Script: ; 1dd3a (7:5d3a) + jp EnableAutoTextBoxDrawing + +CeladonMansion5TextPointers: ; 1dd3d (7:5d3d) + dw CeladonMansion5Text1 + dw CeladonMansion5Text2 + +CeladonMansion5Text1: ; 1dd41 (7:5d41) + TX_FAR _CeladonMansion5Text1 + db "@" + +CeladonMansion5Text2: ; 1dd46 (7:5d46) + db $08 ; asm + ld bc,(EEVEE << 8) | 25 + call GivePokemon + jr nc, .asm_24365 ; 0x1dd4d + ld a, $45 + ld [$cc4d], a + ld a, $11 + call Predef +.asm_24365 ; 0x1dd59 + jp TextScriptEnd -- cgit v1.3.1-sl0p