From 51e8a41b99e58eefea69765474ca0f214dfd70eb Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 23 Oct 2026 15:03:44 -0400 Subject: [PATCH] Identify unknown `Pointer_3b0ee` list as `IgnoreLevel1LearnsetMons` --- data/pokemon/{unknown_list.asm => debug_ignore_lv1.asm} | 8 ++++++-- engine/pokemon/evos_moves.asm | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) rename data/pokemon/{unknown_list.asm => debug_ignore_lv1.asm} (57%) 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