diff --git a/data/pokemon/unknown_list.asm b/data/pokemon/debug_ignore_lv1.asm similarity index 57% rename from data/pokemon/unknown_list.asm rename to data/pokemon/debug_ignore_lv1.asm index 010d415b..998aa7ee 100644 --- a/data/pokemon/unknown_list.asm +++ b/data/pokemon/debug_ignore_lv1.asm @@ -1,6 +1,10 @@ -; This list is used by a unreferenced function. +; This list is used by unreferenced debug code which '×'es out moves that are +; not learnable by a particular Pokémon species. +; Species in this list do not consider their base data's level 1 learnsets as +; "learnable" for marking purposes. +; It's unclear why these specific Pokémon were listed. -Pointer_3b0ee: +IgnoreLevel1LearnsetMons: db NIDOKING db IVYSAUR db EXEGGUTOR diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm index d33f19d9..caa9f3c4 100644 --- a/engine/pokemon/evos_moves.asm +++ b/engine/pokemon/evos_moves.asm @@ -414,7 +414,7 @@ CheckCanLearnMove: and a jr nz, .canLearnMove - ld hl, Pointer_3b0ee + ld hl, IgnoreLevel1LearnsetMons ld a, [wCurPartySpecies] ld de, 1 call IsInArray @@ -455,7 +455,7 @@ CheckCanLearnMove: scf ret -INCLUDE "data/pokemon/unknown_list.asm" +INCLUDE "data/pokemon/debug_ignore_lv1.asm" FindPreEvolution: ld c, 0