display_effectiveness.asm 282 B

12345678910111213141516171819
  1. DisplayEffectiveness:
  2. ld a, [wDamageMultipliers]
  3. and $7F
  4. cp $0A
  5. ret z
  6. ld hl, SuperEffectiveText
  7. jr nc, .done
  8. ld hl, NotVeryEffectiveText
  9. .done
  10. jp PrintText
  11. SuperEffectiveText:
  12. TX_FAR _SuperEffectiveText
  13. db "@"
  14. NotVeryEffectiveText:
  15. TX_FAR _NotVeryEffectiveText
  16. db "@"