celadonmart3.asm 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. CeladonMart3Script:
  2. jp EnableAutoTextBoxDrawing
  3. CeladonMart3TextPointers:
  4. dw CeladonMart3Text1
  5. dw CeladonMart3Text2
  6. dw CeladonMart3Text3
  7. dw CeladonMart3Text4
  8. dw CeladonMart3Text5
  9. dw CeladonMart3Text6
  10. dw CeladonMart3Text7
  11. dw CeladonMart3Text8
  12. dw CeladonMart3Text9
  13. dw CeladonMart3Text10
  14. dw CeladonMart3Text11
  15. dw CeladonMart3Text12
  16. dw CeladonMart3Text13
  17. dw CeladonMart3Text14
  18. dw CeladonMart3Text15
  19. dw CeladonMart3Text16
  20. dw CeladonMart3Text17
  21. CeladonMart3Text1:
  22. TX_ASM
  23. CheckEvent EVENT_GOT_TM18
  24. jr nz, .asm_a5463
  25. ld hl, TM18PreReceiveText
  26. call PrintText
  27. lb bc, TM_18, 1
  28. call GiveItem
  29. jr nc, .BagFull
  30. SetEvent EVENT_GOT_TM18
  31. ld hl, ReceivedTM18Text
  32. jr .asm_81359
  33. .BagFull
  34. ld hl, TM18NoRoomText
  35. jr .asm_81359
  36. .asm_a5463
  37. ld hl, TM18ExplanationText
  38. .asm_81359
  39. call PrintText
  40. jp TextScriptEnd
  41. TM18PreReceiveText:
  42. TX_FAR _TM18PreReceiveText
  43. db "@"
  44. ReceivedTM18Text:
  45. TX_FAR _ReceivedTM18Text
  46. TX_SFX_ITEM_1
  47. db "@"
  48. TM18ExplanationText:
  49. TX_FAR _TM18ExplanationText
  50. db "@"
  51. TM18NoRoomText:
  52. TX_FAR _TM18NoRoomText
  53. db "@"
  54. CeladonMart3Text2:
  55. TX_FAR _CeladonMart3Text2
  56. db "@"
  57. CeladonMart3Text3:
  58. TX_FAR _CeladonMart3Text3
  59. db "@"
  60. CeladonMart3Text4:
  61. TX_FAR _CeladonMart3Text4
  62. db "@"
  63. CeladonMart3Text5:
  64. TX_FAR _CeladonMart3Text5
  65. db "@"
  66. CeladonMart3Text12
  67. CeladonMart3Text10:
  68. CeladonMart3Text8:
  69. CeladonMart3Text6:
  70. TX_FAR _CeladonMart3Text6
  71. db "@"
  72. CeladonMart3Text7:
  73. TX_FAR _CeladonMart3Text7
  74. db "@"
  75. CeladonMart3Text9:
  76. TX_FAR _CeladonMart3Text9
  77. db "@"
  78. CeladonMart3Text11:
  79. TX_FAR _CeladonMart3Text11
  80. db "@"
  81. CeladonMart3Text13:
  82. TX_FAR _CeladonMart3Text13
  83. db "@"
  84. CeladonMart3Text14:
  85. TX_FAR _CeladonMart3Text14
  86. db "@"
  87. CeladonMart3Text17:
  88. CeladonMart3Text16:
  89. CeladonMart3Text15:
  90. TX_FAR _CeladonMart3Text15
  91. db "@"