trade2.asm 958 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Trade_PrintPlayerMonInfoText:
  2. coord hl, 5, 0
  3. ld de, Trade_MonInfoText
  4. call PlaceString
  5. ld a, [wTradedPlayerMonSpecies]
  6. ld [wd11e], a
  7. predef IndexToPokedex
  8. coord hl, 9, 0
  9. ld de, wd11e
  10. lb bc, LEADING_ZEROES | 1, 3
  11. call PrintNumber
  12. coord hl, 5, 2
  13. ld de, wcf4b
  14. call PlaceString
  15. coord hl, 8, 4
  16. ld de, wTradedPlayerMonOT
  17. call PlaceString
  18. coord hl, 8, 6
  19. ld de, wTradedPlayerMonOTID
  20. lb bc, LEADING_ZEROES | 2, 5
  21. jp PrintNumber
  22. Trade_PrintEnemyMonInfoText:
  23. coord hl, 5, 10
  24. ld de, Trade_MonInfoText
  25. call PlaceString
  26. ld a, [wTradedEnemyMonSpecies]
  27. ld [wd11e], a
  28. predef IndexToPokedex
  29. coord hl, 9, 10
  30. ld de, wd11e
  31. lb bc, LEADING_ZEROES | 1, 3
  32. call PrintNumber
  33. coord hl, 5, 12
  34. ld de, wcd6d
  35. call PlaceString
  36. coord hl, 8, 14
  37. ld de, wTradedEnemyMonOT
  38. call PlaceString
  39. coord hl, 8, 16
  40. ld de, wTradedEnemyMonOTID
  41. lb bc, LEADING_ZEROES | 2, 5
  42. jp PrintNumber
  43. Trade_MonInfoText:
  44. db "──№⠄",$4E
  45. next "OT/"
  46. next $73,"№⠄","@"