mirror of
https://github.com/pret/pokered.git
synced 2024-11-27 16:10:41 +00:00
25 lines
415 B
NASM
Executable File
25 lines
415 B
NASM
Executable File
RedsHouse2FScript:
|
|
call EnableAutoTextBoxDrawing
|
|
ld hl, RedsHouse2FScriptPointers
|
|
ld a, [wRedsHouse2CurScript]
|
|
jp CallFunctionInTable
|
|
|
|
RedsHouse2FScriptPointers:
|
|
dw RedsHouse2FScript0
|
|
dw RedsHouse2FScript1
|
|
|
|
RedsHouse2FScript0:
|
|
xor a
|
|
ld [hJoyHeld], a
|
|
ld a, PLAYER_DIR_UP
|
|
ld [wPlayerMovingDirection], a
|
|
ld a, 1
|
|
ld [wRedsHouse2CurScript], a
|
|
ret
|
|
|
|
RedsHouse2FScript1:
|
|
ret
|
|
|
|
RedsHouse2FTextPointers:
|
|
db "@"
|