redshouse2f.asm 415 B

12345678910111213141516171819202122232425
  1. RedsHouse2FScript:
  2. call EnableAutoTextBoxDrawing
  3. ld hl, RedsHouse2FScriptPointers
  4. ld a, [wRedsHouse2CurScript]
  5. jp CallFunctionInTable
  6. RedsHouse2FScriptPointers:
  7. dw RedsHouse2FScript0
  8. dw RedsHouse2FScript1
  9. RedsHouse2FScript0:
  10. xor a
  11. ld [hJoyHeld], a
  12. ld a, PLAYER_DIR_UP
  13. ld [wPlayerMovingDirection], a
  14. ld a, 1
  15. ld [wRedsHouse2CurScript], a
  16. ret
  17. RedsHouse2FScript1:
  18. ret
  19. RedsHouse2FTextPointers:
  20. db "@"