diff options
| author | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-20 13:58:03 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-20 13:58:03 -0400 |
| commit | fac958b280056922a1828b71a04d84a36e1e807a (patch) | |
| tree | c094adc59182b253a61defb5fb85de7a9d77b7cc /engine/items/tmhm.asm | |
| parent | bfb981f1885d21cc59d2656e84c87bb8d64a089c (diff) | |
- Remove trailing whitespace
- Indent with single tabs, not spaces
- Colons after labels
- Capitalize BANK, HIGH, and LOW
- dbw BANK(X), X -> dba X
Diffstat (limited to 'engine/items/tmhm.asm')
| -rw-r--r-- | engine/items/tmhm.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm index efe8c27..f3290fe 100644 --- a/engine/items/tmhm.asm +++ b/engine/items/tmhm.asm @@ -3,20 +3,20 @@ INCLUDE "constants.asm" SECTION "engine/items/tmhm.asm", ROMX CanLearnTMHMMove: ; 04:528f -; Gets the index of TM or HM with move ID wce32, +; Gets the index of TM or HM with move ID wce32, ; then checks the corresponding flag in wMonDexIndex's learnset. ; Sets register c to 1 if TM/HM is in learnset OR if debug is enabled. ld a, [wDebugFlags] ld c, 01 bit 1, a ret nz - + ld a, [wMonDexIndex] ld [wCurSpecies], a call GetMonHeader ld hl, wMonHLearnset push hl - + ld a, [wce32] ld b, a ld c, 0 @@ -27,7 +27,7 @@ CanLearnTMHMMove: ; 04:528f jr z, .jump inc c jr .loop - + .jump pop hl ld b, 2 ;CHECK_FLAG |
