diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-01-10 21:25:24 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-01-10 21:25:24 -0500 |
commit | 6149917db042a7498416c428ff804237ec9b30ca (patch) | |
tree | 0a7e2696c3d2a738491e04ed180d8708f5bde9e9 | |
parent | d850eb831b07114d463c2c4410819462426588f1 (diff) |
Better comments for enemy health percentage code
-rw-r--r-- | engine/battle/core.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 890b81fb..9f8c3421 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -7356,7 +7356,7 @@ SendOutMonText: ld hl, GoMonText jr z, .skip_to_textbox - ; compute enemy helth remaining as a percentage + ; compute enemy health remaining as a percentage xor a ldh [hMultiplicand + 0], a ld hl, wEnemyMonHP @@ -7421,10 +7421,10 @@ WithdrawMonText: .WithdrawMonText: text_far _BattleMonNickCommaText text_asm -; Print text to withdraw mon -; depending on HP the message is different +; Depending on the HP lost since the enemy mon was sent out, the game prints a different text push de push bc + ; compute enemy health lost as a percentage ld hl, wEnemyMonHP + 1 ld de, wEnemyHPAtTimeOfPlayerSwitch + 1 ld b, [hl] |