summaryrefslogtreecommitdiff
path: root/scripts/lab2.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/lab2.asm
parent4e4e72d02a5a202daea3a73363d2a4c3ba34e724 (diff)
Pull map scripts out of main.asm
Diffstat (limited to 'scripts/lab2.asm')
-rwxr-xr-xscripts/lab2.asm26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/lab2.asm b/scripts/lab2.asm
new file mode 100755
index 00000000..a626de98
--- /dev/null
+++ b/scripts/lab2.asm
@@ -0,0 +1,26 @@
+Lab2Script: ; 75c21 (1d:5c21)
+ jp EnableAutoTextBoxDrawing
+
+Lab2TextPointers: ; 75c24 (1d:5c24)
+ dw Lab2Text1
+ dw Lab2Text2
+ dw Lab2Text3
+
+Lab2Text1: ; 75c2a (1d:5c2a)
+ TX_FAR _Lab2Text1
+ db "@"
+
+Lab2Text2: ; 75c2f (1d:5c2f)
+ db $8
+ ld a, $7
+ ld [wWhichTrade], a
+ jr asm_78552 ; 0x75c35 $6
+
+Lab2Text3: ; 75c37 (1d:5c37)
+ db $8
+ ld a, $8
+ ld [wWhichTrade], a
+asm_78552: ; 75c3d (1d:5c3d)
+ ld a, $54
+ call Predef
+ jp TextScriptEnd