shithub: pokecrystal

Download patch

ref: c75d121c78324077bd058c179c94c596c6457f77
parent: cfd432f468962a2f67a492afbc5203546117544a
author: vulcandth <vulcandth@gmail.com>
date: Thu Mar 16 17:25:33 EDT 2023

Missed `DEF` in `add_tm`

--- a/constants/item_constants.asm
+++ b/constants/item_constants.asm
@@ -211,7 +211,7 @@
 ; - \1_TMNUM: the learnable TM/HM flag, starting at 1
 ; - TM##_MOVE: alias for the move id, equal to the value of \1
 	const TM_\1
-TM{02d:__tmhm_value__}_MOVE = \1
+	DEF TM{02d:__tmhm_value__}_MOVE = \1
 	add_tmnum \1
 ENDM