Define appropriate constants as EQU

These constants are defined only once and shouldn't be redefined anyway.
This commit is contained in:
mid-kid
2019-05-12 16:46:40 +02:00
parent 649c8d38da
commit 476f9ba40d
4 changed files with 11 additions and 11 deletions

View File

@@ -332,7 +332,7 @@ Edit `GetMapMusic`:
add_tm PSYCHIC_M ; dd
...
add_tm NIGHTMARE ; f2
NUM_TMS = const_value - TM01 - 2 ; discount ITEM_C3 and ITEM_DC
NUM_TMS EQU const_value - TM01 - 2 ; discount ITEM_C3 and ITEM_DC
```
`GetTMHMNumber` and `GetNumberedTMHM` in [engine/items/items.asm](https://github.com/pret/pokecrystal/blob/master/engine/items/items.asm) have to compensate for this.