diff options
Diffstat (limited to 'scripts/battlecenterm.asm')
-rwxr-xr-x | scripts/battlecenterm.asm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/scripts/battlecenterm.asm b/scripts/battlecenterm.asm new file mode 100755 index 00000000..846b78fb --- /dev/null +++ b/scripts/battlecenterm.asm @@ -0,0 +1,38 @@ +BattleCenterMScript: ; 4fd10 (13:7d10) + call EnableAutoTextBoxDrawing + ld a, [$ffaa] + cp $2 + ld a, $8 + jr z, .asm_4fd1d ; 0x4fd19 $2 + ld a, $c +.asm_4fd1d + ld [$ff8d], a + ld a, $1 + ld [$ff8c], a + call Func_34ae + ld hl, $d72d + bit 0, [hl] + set 0, [hl] + ret nz + ld hl, $c214 + ld a, $8 + ld [hli], a + ld a, $a + ld [hl], a + ld a, $8 + ld [$c119], a + ld a, [$ffaa] + cp $2 + ret z + ld a, $7 + ld [$c215], a + ld a, $c + ld [$c119], a + ret + +BattleCenterMTextPointers: ; 4fd4c (13:7d4c) + dw BattleCenterMText1 + +BattleCenterMText1: ; 4fd4e (13:7d4e) + TX_FAR _BattleCenterMText1 + db "@" |