lab2.asm 320 B

1234567891011121314151617181920212223242526
  1. Lab2Script:
  2. jp EnableAutoTextBoxDrawing
  3. Lab2TextPointers:
  4. dw Lab2Text1
  5. dw Lab2Text2
  6. dw Lab2Text3
  7. Lab2Text1:
  8. TX_FAR _Lab2Text1
  9. db "@"
  10. Lab2Text2:
  11. TX_ASM
  12. ld a, $7
  13. ld [wWhichTrade], a
  14. jr Lab2DoTrade
  15. Lab2Text3:
  16. TX_ASM
  17. ld a, $8
  18. ld [wWhichTrade], a
  19. Lab2DoTrade:
  20. predef DoInGameTradeDialogue
  21. jp TextScriptEnd