celadonmansion3.asm 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. CeladonMansion3Script:
  2. jp EnableAutoTextBoxDrawing
  3. CeladonMansion3TextPointers:
  4. dw ProgrammerText
  5. dw GraphicArtistText
  6. dw WriterText
  7. dw DirectorText
  8. dw GameFreakPCText1
  9. dw GameFreakPCText2
  10. dw GameFreakPCText3
  11. dw GameFreakSignText
  12. ProgrammerText:
  13. TX_FAR _ProgrammerText
  14. db "@"
  15. GraphicArtistText:
  16. TX_FAR _GraphicArtistText
  17. db "@"
  18. WriterText:
  19. TX_FAR _WriterText
  20. db "@"
  21. DirectorText:
  22. TX_ASM
  23. ; check pokédex
  24. ld hl, wPokedexOwned
  25. ld b, wPokedexOwnedEnd - wPokedexOwned
  26. call CountSetBits
  27. ld a, [wNumSetBits]
  28. cp 150
  29. jr nc, .CompletedDex
  30. ld hl, .GameDesigner
  31. jr .done
  32. .CompletedDex
  33. ld hl, .CompletedDexText
  34. .done
  35. call PrintText
  36. jp TextScriptEnd
  37. .GameDesigner
  38. TX_FAR _GameDesignerText
  39. db "@"
  40. .CompletedDexText
  41. TX_FAR _CompletedDexText
  42. TX_BLINK
  43. TX_ASM
  44. callab DisplayDiploma
  45. ld a, $1
  46. ld [wDoNotWaitForButtonPressAfterDisplayingText], a
  47. jp TextScriptEnd
  48. GameFreakPCText1:
  49. TX_FAR _CeladonMansion3Text5
  50. db "@"
  51. GameFreakPCText2:
  52. TX_FAR _CeladonMansion3Text6
  53. db "@"
  54. GameFreakPCText3:
  55. TX_FAR _CeladonMansion3Text7
  56. db "@"
  57. GameFreakSignText:
  58. TX_FAR _CeladonMansion3Text8
  59. db "@"