diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-18 14:19:10 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-18 14:19:10 -0400 |
commit | 24c01b09bb2b617812bd826d1cf9ab5e3ec6a023 (patch) | |
tree | 07d2ed81b23de081f2003d9f8d50170344dd5ada /scripts/silphco1.asm | |
parent | 4e4e72d02a5a202daea3a73363d2a4c3ba34e724 (diff) |
Pull map scripts out of main.asm
Diffstat (limited to 'scripts/silphco1.asm')
-rwxr-xr-x | scripts/silphco1.asm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/silphco1.asm b/scripts/silphco1.asm new file mode 100755 index 00000000..64f93cdc --- /dev/null +++ b/scripts/silphco1.asm @@ -0,0 +1,20 @@ +SilphCo1Script: ; 5d44e (17:544e) + call EnableAutoTextBoxDrawing + ld a, [$d838] + bit 7, a + ret z + ld hl, $d7b9 + bit 7, [hl] + set 7, [hl] + ret nz + ld a, $4c + ld [$cc4d], a + ld a, $15 + jp Predef + +SilphCo1TextPointers: ; 5d469 (17:5469) + dw SilphCo1Text1 + +SilphCo1Text1: ; 5d46b (17:546b) + TX_FAR _SilphCo1Text1 + db "@" |