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/redshouse2f.asm | |
parent | 4e4e72d02a5a202daea3a73363d2a4c3ba34e724 (diff) |
Pull map scripts out of main.asm
Diffstat (limited to 'scripts/redshouse2f.asm')
-rwxr-xr-x | scripts/redshouse2f.asm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/redshouse2f.asm b/scripts/redshouse2f.asm new file mode 100755 index 00000000..1004860c --- /dev/null +++ b/scripts/redshouse2f.asm @@ -0,0 +1,24 @@ +RedsHouse2FScript: ; 5c0b0 (17:40b0) + call EnableAutoTextBoxDrawing + ld hl,RedsHouse2FScriptPointers + ld a,[W_REDSHOUSE2CURSCRIPT] + jp CallFunctionInTable + +RedsHouse2FScriptPointers: ; 5c0bc (17:40bc) + dw RedsHouse2FScript0 + dw RedsHouse2FScript1 + +RedsHouse2FScript0: ; 5c0c0 (17:40c0) + xor a + ld [H_CURRENTPRESSEDBUTTONS],a + ld a,8 + ld [$D528],a + ld a,1 + ld [W_REDSHOUSE2CURSCRIPT],a + ret + +RedsHouse2FScript1: ; 5c0ce (17:40ce) + ret + +RedsHouse2FTextPointers: ; 5c0cf (17:40cf) + db "@" |