Make learnsets easier to edit

This commit is contained in:
DizzyEggg 2018-08-12 00:42:25 +02:00
parent 85ebd76cd0
commit 7b9a7765e0
3 changed files with 827 additions and 827 deletions

View file

@ -1,420 +1,420 @@
#ifndef POKEEMERALD_LEVEL_UP_LEARNSET_POINTERS_H
#define POKEEMERALD_LEVEL_UP_LEARNSET_POINTERS_H
const u16 *const gLevelUpLearnsets[] =
const u16 *const gLevelUpLearnsets[NUM_SPECIES] =
{
gBulbasaurLevelUpLearnset,
gBulbasaurLevelUpLearnset,
gIvysaurLevelUpLearnset,
gVenusaurLevelUpLearnset,
gCharmanderLevelUpLearnset,
gCharmeleonLevelUpLearnset,
gCharizardLevelUpLearnset,
gSquirtleLevelUpLearnset,
gWartortleLevelUpLearnset,
gBlastoiseLevelUpLearnset,
gCaterpieLevelUpLearnset,
gMetapodLevelUpLearnset,
gButterfreeLevelUpLearnset,
gWeedleLevelUpLearnset,
gKakunaLevelUpLearnset,
gBeedrillLevelUpLearnset,
gPidgeyLevelUpLearnset,
gPidgeottoLevelUpLearnset,
gPidgeotLevelUpLearnset,
gRattataLevelUpLearnset,
gRaticateLevelUpLearnset,
gSpearowLevelUpLearnset,
gFearowLevelUpLearnset,
gEkansLevelUpLearnset,
gArbokLevelUpLearnset,
gPikachuLevelUpLearnset,
gRaichuLevelUpLearnset,
gSandshrewLevelUpLearnset,
gSandslashLevelUpLearnset,
gNidoranFLevelUpLearnset,
gNidorinaLevelUpLearnset,
gNidoqueenLevelUpLearnset,
gNidoranMLevelUpLearnset,
gNidorinoLevelUpLearnset,
gNidokingLevelUpLearnset,
gClefairyLevelUpLearnset,
gClefableLevelUpLearnset,
gVulpixLevelUpLearnset,
gNinetalesLevelUpLearnset,
gJigglypuffLevelUpLearnset,
gWigglytuffLevelUpLearnset,
gZubatLevelUpLearnset,
gGolbatLevelUpLearnset,
gOddishLevelUpLearnset,
gGloomLevelUpLearnset,
gVileplumeLevelUpLearnset,
gParasLevelUpLearnset,
gParasectLevelUpLearnset,
gVenonatLevelUpLearnset,
gVenomothLevelUpLearnset,
gDiglettLevelUpLearnset,
gDugtrioLevelUpLearnset,
gMeowthLevelUpLearnset,
gPersianLevelUpLearnset,
gPsyduckLevelUpLearnset,
gGolduckLevelUpLearnset,
gMankeyLevelUpLearnset,
gPrimeapeLevelUpLearnset,
gGrowlitheLevelUpLearnset,
gArcanineLevelUpLearnset,
gPoliwagLevelUpLearnset,
gPoliwhirlLevelUpLearnset,
gPoliwrathLevelUpLearnset,
gAbraLevelUpLearnset,
gKadabraLevelUpLearnset,
gAlakazamLevelUpLearnset,
gMachopLevelUpLearnset,
gMachokeLevelUpLearnset,
gMachampLevelUpLearnset,
gBellsproutLevelUpLearnset,
gWeepinbellLevelUpLearnset,
gVictreebelLevelUpLearnset,
gTentacoolLevelUpLearnset,
gTentacruelLevelUpLearnset,
gGeodudeLevelUpLearnset,
gGravelerLevelUpLearnset,
gGolemLevelUpLearnset,
gPonytaLevelUpLearnset,
gRapidashLevelUpLearnset,
gSlowpokeLevelUpLearnset,
gSlowbroLevelUpLearnset,
gMagnemiteLevelUpLearnset,
gMagnetonLevelUpLearnset,
gFarfetchdLevelUpLearnset,
gDoduoLevelUpLearnset,
gDodrioLevelUpLearnset,
gSeelLevelUpLearnset,
gDewgongLevelUpLearnset,
gGrimerLevelUpLearnset,
gMukLevelUpLearnset,
gShellderLevelUpLearnset,
gCloysterLevelUpLearnset,
gGastlyLevelUpLearnset,
gHaunterLevelUpLearnset,
gGengarLevelUpLearnset,
gOnixLevelUpLearnset,
gDrowzeeLevelUpLearnset,
gHypnoLevelUpLearnset,
gKrabbyLevelUpLearnset,
gKinglerLevelUpLearnset,
gVoltorbLevelUpLearnset,
gElectrodeLevelUpLearnset,
gExeggcuteLevelUpLearnset,
gExeggutorLevelUpLearnset,
gCuboneLevelUpLearnset,
gMarowakLevelUpLearnset,
gHitmonleeLevelUpLearnset,
gHitmonchanLevelUpLearnset,
gLickitungLevelUpLearnset,
gKoffingLevelUpLearnset,
gWeezingLevelUpLearnset,
gRhyhornLevelUpLearnset,
gRhydonLevelUpLearnset,
gChanseyLevelUpLearnset,
gTangelaLevelUpLearnset,
gKangaskhanLevelUpLearnset,
gHorseaLevelUpLearnset,
gSeadraLevelUpLearnset,
gGoldeenLevelUpLearnset,
gSeakingLevelUpLearnset,
gStaryuLevelUpLearnset,
gStarmieLevelUpLearnset,
gMrmimeLevelUpLearnset,
gScytherLevelUpLearnset,
gJynxLevelUpLearnset,
gElectabuzzLevelUpLearnset,
gMagmarLevelUpLearnset,
gPinsirLevelUpLearnset,
gTaurosLevelUpLearnset,
gMagikarpLevelUpLearnset,
gGyaradosLevelUpLearnset,
gLaprasLevelUpLearnset,
gDittoLevelUpLearnset,
gEeveeLevelUpLearnset,
gVaporeonLevelUpLearnset,
gJolteonLevelUpLearnset,
gFlareonLevelUpLearnset,
gPorygonLevelUpLearnset,
gOmanyteLevelUpLearnset,
gOmastarLevelUpLearnset,
gKabutoLevelUpLearnset,
gKabutopsLevelUpLearnset,
gAerodactylLevelUpLearnset,
gSnorlaxLevelUpLearnset,
gArticunoLevelUpLearnset,
gZapdosLevelUpLearnset,
gMoltresLevelUpLearnset,
gDratiniLevelUpLearnset,
gDragonairLevelUpLearnset,
gDragoniteLevelUpLearnset,
gMewtwoLevelUpLearnset,
gMewLevelUpLearnset,
gChikoritaLevelUpLearnset,
gBayleefLevelUpLearnset,
gMeganiumLevelUpLearnset,
gCyndaquilLevelUpLearnset,
gQuilavaLevelUpLearnset,
gTyphlosionLevelUpLearnset,
gTotodileLevelUpLearnset,
gCroconawLevelUpLearnset,
gFeraligatrLevelUpLearnset,
gSentretLevelUpLearnset,
gFurretLevelUpLearnset,
gHoothootLevelUpLearnset,
gNoctowlLevelUpLearnset,
gLedybaLevelUpLearnset,
gLedianLevelUpLearnset,
gSpinarakLevelUpLearnset,
gAriadosLevelUpLearnset,
gCrobatLevelUpLearnset,
gChinchouLevelUpLearnset,
gLanturnLevelUpLearnset,
gPichuLevelUpLearnset,
gCleffaLevelUpLearnset,
gIgglybuffLevelUpLearnset,
gTogepiLevelUpLearnset,
gTogeticLevelUpLearnset,
gNatuLevelUpLearnset,
gXatuLevelUpLearnset,
gMareepLevelUpLearnset,
gFlaaffyLevelUpLearnset,
gAmpharosLevelUpLearnset,
gBellossomLevelUpLearnset,
gMarillLevelUpLearnset,
gAzumarillLevelUpLearnset,
gSudowoodoLevelUpLearnset,
gPolitoedLevelUpLearnset,
gHoppipLevelUpLearnset,
gSkiploomLevelUpLearnset,
gJumpluffLevelUpLearnset,
gAipomLevelUpLearnset,
gSunkernLevelUpLearnset,
gSunfloraLevelUpLearnset,
gYanmaLevelUpLearnset,
gWooperLevelUpLearnset,
gQuagsireLevelUpLearnset,
gEspeonLevelUpLearnset,
gUmbreonLevelUpLearnset,
gMurkrowLevelUpLearnset,
gSlowkingLevelUpLearnset,
gMisdreavusLevelUpLearnset,
gUnownLevelUpLearnset,
gWobbuffetLevelUpLearnset,
gGirafarigLevelUpLearnset,
gPinecoLevelUpLearnset,
gForretressLevelUpLearnset,
gDunsparceLevelUpLearnset,
gGligarLevelUpLearnset,
gSteelixLevelUpLearnset,
gSnubbullLevelUpLearnset,
gGranbullLevelUpLearnset,
gQwilfishLevelUpLearnset,
gScizorLevelUpLearnset,
gShuckleLevelUpLearnset,
gHeracrossLevelUpLearnset,
gSneaselLevelUpLearnset,
gTeddiursaLevelUpLearnset,
gUrsaringLevelUpLearnset,
gSlugmaLevelUpLearnset,
gMagcargoLevelUpLearnset,
gSwinubLevelUpLearnset,
gPiloswineLevelUpLearnset,
gCorsolaLevelUpLearnset,
gRemoraidLevelUpLearnset,
gOctilleryLevelUpLearnset,
gDelibirdLevelUpLearnset,
gMantineLevelUpLearnset,
gSkarmoryLevelUpLearnset,
gHoundourLevelUpLearnset,
gHoundoomLevelUpLearnset,
gKingdraLevelUpLearnset,
gPhanpyLevelUpLearnset,
gDonphanLevelUpLearnset,
gPorygon2LevelUpLearnset,
gStantlerLevelUpLearnset,
gSmeargleLevelUpLearnset,
gTyrogueLevelUpLearnset,
gHitmontopLevelUpLearnset,
gSmoochumLevelUpLearnset,
gElekidLevelUpLearnset,
gMagbyLevelUpLearnset,
gMiltankLevelUpLearnset,
gBlisseyLevelUpLearnset,
gRaikouLevelUpLearnset,
gEnteiLevelUpLearnset,
gSuicuneLevelUpLearnset,
gLarvitarLevelUpLearnset,
gPupitarLevelUpLearnset,
gTyranitarLevelUpLearnset,
gLugiaLevelUpLearnset,
gHoOhLevelUpLearnset,
gCelebiLevelUpLearnset,
gSpecies252LevelUpLearnset,
gSpecies253LevelUpLearnset,
gSpecies254LevelUpLearnset,
gSpecies255LevelUpLearnset,
gSpecies256LevelUpLearnset,
gSpecies257LevelUpLearnset,
gSpecies258LevelUpLearnset,
gSpecies259LevelUpLearnset,
gSpecies260LevelUpLearnset,
gSpecies261LevelUpLearnset,
gSpecies262LevelUpLearnset,
gSpecies263LevelUpLearnset,
gSpecies264LevelUpLearnset,
gSpecies265LevelUpLearnset,
gSpecies266LevelUpLearnset,
gSpecies267LevelUpLearnset,
gSpecies268LevelUpLearnset,
gSpecies269LevelUpLearnset,
gSpecies270LevelUpLearnset,
gSpecies271LevelUpLearnset,
gSpecies272LevelUpLearnset,
gSpecies273LevelUpLearnset,
gSpecies274LevelUpLearnset,
gSpecies275LevelUpLearnset,
gSpecies276LevelUpLearnset,
gTreeckoLevelUpLearnset,
gGrovyleLevelUpLearnset,
gSceptileLevelUpLearnset,
gTorchicLevelUpLearnset,
gCombuskenLevelUpLearnset,
gBlazikenLevelUpLearnset,
gMudkipLevelUpLearnset,
gMarshtompLevelUpLearnset,
gSwampertLevelUpLearnset,
gPoochyenaLevelUpLearnset,
gMightyenaLevelUpLearnset,
gZigzagoonLevelUpLearnset,
gLinooneLevelUpLearnset,
gWurmpleLevelUpLearnset,
gSilcoonLevelUpLearnset,
gBeautiflyLevelUpLearnset,
gCascoonLevelUpLearnset,
gDustoxLevelUpLearnset,
gLotadLevelUpLearnset,
gLombreLevelUpLearnset,
gLudicoloLevelUpLearnset,
gSeedotLevelUpLearnset,
gNuzleafLevelUpLearnset,
gShiftryLevelUpLearnset,
gNincadaLevelUpLearnset,
gNinjaskLevelUpLearnset,
gShedinjaLevelUpLearnset,
gTaillowLevelUpLearnset,
gSwellowLevelUpLearnset,
gShroomishLevelUpLearnset,
gBreloomLevelUpLearnset,
gSpindaLevelUpLearnset,
gWingullLevelUpLearnset,
gPelipperLevelUpLearnset,
gSurskitLevelUpLearnset,
gMasquerainLevelUpLearnset,
gWailmerLevelUpLearnset,
gWailordLevelUpLearnset,
gSkittyLevelUpLearnset,
gDelcattyLevelUpLearnset,
gKecleonLevelUpLearnset,
gBaltoyLevelUpLearnset,
gClaydolLevelUpLearnset,
gNosepassLevelUpLearnset,
gTorkoalLevelUpLearnset,
gSableyeLevelUpLearnset,
gBarboachLevelUpLearnset,
gWhiscashLevelUpLearnset,
gLuvdiscLevelUpLearnset,
gCorphishLevelUpLearnset,
gCrawdauntLevelUpLearnset,
gFeebasLevelUpLearnset,
gMiloticLevelUpLearnset,
gCarvanhaLevelUpLearnset,
gSharpedoLevelUpLearnset,
gTrapinchLevelUpLearnset,
gVibravaLevelUpLearnset,
gFlygonLevelUpLearnset,
gMakuhitaLevelUpLearnset,
gHariyamaLevelUpLearnset,
gElectrikeLevelUpLearnset,
gManectricLevelUpLearnset,
gNumelLevelUpLearnset,
gCameruptLevelUpLearnset,
gSphealLevelUpLearnset,
gSealeoLevelUpLearnset,
gWalreinLevelUpLearnset,
gCacneaLevelUpLearnset,
gCacturneLevelUpLearnset,
gSnoruntLevelUpLearnset,
gGlalieLevelUpLearnset,
gLunatoneLevelUpLearnset,
gSolrockLevelUpLearnset,
gAzurillLevelUpLearnset,
gSpoinkLevelUpLearnset,
gGrumpigLevelUpLearnset,
gPlusleLevelUpLearnset,
gMinunLevelUpLearnset,
gMawileLevelUpLearnset,
gMedititeLevelUpLearnset,
gMedichamLevelUpLearnset,
gSwabluLevelUpLearnset,
gAltariaLevelUpLearnset,
gWynautLevelUpLearnset,
gDuskullLevelUpLearnset,
gDusclopsLevelUpLearnset,
gRoseliaLevelUpLearnset,
gSlakothLevelUpLearnset,
gVigorothLevelUpLearnset,
gSlakingLevelUpLearnset,
gGulpinLevelUpLearnset,
gSwalotLevelUpLearnset,
gTropiusLevelUpLearnset,
gWhismurLevelUpLearnset,
gLoudredLevelUpLearnset,
gExploudLevelUpLearnset,
gClamperlLevelUpLearnset,
gHuntailLevelUpLearnset,
gGorebyssLevelUpLearnset,
gAbsolLevelUpLearnset,
gShuppetLevelUpLearnset,
gBanetteLevelUpLearnset,
gSeviperLevelUpLearnset,
gZangooseLevelUpLearnset,
gRelicanthLevelUpLearnset,
gAronLevelUpLearnset,
gLaironLevelUpLearnset,
gAggronLevelUpLearnset,
gCastformLevelUpLearnset,
gVolbeatLevelUpLearnset,
gIllumiseLevelUpLearnset,
gLileepLevelUpLearnset,
gCradilyLevelUpLearnset,
gAnorithLevelUpLearnset,
gArmaldoLevelUpLearnset,
gRaltsLevelUpLearnset,
gKirliaLevelUpLearnset,
gGardevoirLevelUpLearnset,
gBagonLevelUpLearnset,
gShelgonLevelUpLearnset,
gSalamenceLevelUpLearnset,
gBeldumLevelUpLearnset,
gMetangLevelUpLearnset,
gMetagrossLevelUpLearnset,
gRegirockLevelUpLearnset,
gRegiceLevelUpLearnset,
gRegisteelLevelUpLearnset,
gKyogreLevelUpLearnset,
gGroudonLevelUpLearnset,
gRayquazaLevelUpLearnset,
gLatiasLevelUpLearnset,
gLatiosLevelUpLearnset,
gJirachiLevelUpLearnset,
gDeoxysLevelUpLearnset,
gChimechoLevelUpLearnset
[SPECIES_NONE] = sBulbasaurLevelUpLearnset,
[SPECIES_BULBASAUR] = sBulbasaurLevelUpLearnset,
[SPECIES_IVYSAUR] = sIvysaurLevelUpLearnset,
[SPECIES_VENUSAUR] = sVenusaurLevelUpLearnset,
[SPECIES_CHARMANDER] = sCharmanderLevelUpLearnset,
[SPECIES_CHARMELEON] = sCharmeleonLevelUpLearnset,
[SPECIES_CHARIZARD] = sCharizardLevelUpLearnset,
[SPECIES_SQUIRTLE] = sSquirtleLevelUpLearnset,
[SPECIES_WARTORTLE] = sWartortleLevelUpLearnset,
[SPECIES_BLASTOISE] = sBlastoiseLevelUpLearnset,
[SPECIES_CATERPIE] = sCaterpieLevelUpLearnset,
[SPECIES_METAPOD] = sMetapodLevelUpLearnset,
[SPECIES_BUTTERFREE] = sButterfreeLevelUpLearnset,
[SPECIES_WEEDLE] = sWeedleLevelUpLearnset,
[SPECIES_KAKUNA] = sKakunaLevelUpLearnset,
[SPECIES_BEEDRILL] = sBeedrillLevelUpLearnset,
[SPECIES_PIDGEY] = sPidgeyLevelUpLearnset,
[SPECIES_PIDGEOTTO] = sPidgeottoLevelUpLearnset,
[SPECIES_PIDGEOT] = sPidgeotLevelUpLearnset,
[SPECIES_RATTATA] = sRattataLevelUpLearnset,
[SPECIES_RATICATE] = sRaticateLevelUpLearnset,
[SPECIES_SPEAROW] = sSpearowLevelUpLearnset,
[SPECIES_FEAROW] = sFearowLevelUpLearnset,
[SPECIES_EKANS] = sEkansLevelUpLearnset,
[SPECIES_ARBOK] = sArbokLevelUpLearnset,
[SPECIES_PIKACHU] = sPikachuLevelUpLearnset,
[SPECIES_RAICHU] = sRaichuLevelUpLearnset,
[SPECIES_SANDSHREW] = sSandshrewLevelUpLearnset,
[SPECIES_SANDSLASH] = sSandslashLevelUpLearnset,
[SPECIES_NIDORAN_F] = sNidoranFLevelUpLearnset,
[SPECIES_NIDORINA] = sNidorinaLevelUpLearnset,
[SPECIES_NIDOQUEEN] = sNidoqueenLevelUpLearnset,
[SPECIES_NIDORAN_M] = sNidoranMLevelUpLearnset,
[SPECIES_NIDORINO] = sNidorinoLevelUpLearnset,
[SPECIES_NIDOKING] = sNidokingLevelUpLearnset,
[SPECIES_CLEFAIRY] = sClefairyLevelUpLearnset,
[SPECIES_CLEFABLE] = sClefableLevelUpLearnset,
[SPECIES_VULPIX] = sVulpixLevelUpLearnset,
[SPECIES_NINETALES] = sNinetalesLevelUpLearnset,
[SPECIES_JIGGLYPUFF] = sJigglypuffLevelUpLearnset,
[SPECIES_WIGGLYTUFF] = sWigglytuffLevelUpLearnset,
[SPECIES_ZUBAT] = sZubatLevelUpLearnset,
[SPECIES_GOLBAT] = sGolbatLevelUpLearnset,
[SPECIES_ODDISH] = sOddishLevelUpLearnset,
[SPECIES_GLOOM] = sGloomLevelUpLearnset,
[SPECIES_VILEPLUME] = sVileplumeLevelUpLearnset,
[SPECIES_PARAS] = sParasLevelUpLearnset,
[SPECIES_PARASECT] = sParasectLevelUpLearnset,
[SPECIES_VENONAT] = sVenonatLevelUpLearnset,
[SPECIES_VENOMOTH] = sVenomothLevelUpLearnset,
[SPECIES_DIGLETT] = sDiglettLevelUpLearnset,
[SPECIES_DUGTRIO] = sDugtrioLevelUpLearnset,
[SPECIES_MEOWTH] = sMeowthLevelUpLearnset,
[SPECIES_PERSIAN] = sPersianLevelUpLearnset,
[SPECIES_PSYDUCK] = sPsyduckLevelUpLearnset,
[SPECIES_GOLDUCK] = sGolduckLevelUpLearnset,
[SPECIES_MANKEY] = sMankeyLevelUpLearnset,
[SPECIES_PRIMEAPE] = sPrimeapeLevelUpLearnset,
[SPECIES_GROWLITHE] = sGrowlitheLevelUpLearnset,
[SPECIES_ARCANINE] = sArcanineLevelUpLearnset,
[SPECIES_POLIWAG] = sPoliwagLevelUpLearnset,
[SPECIES_POLIWHIRL] = sPoliwhirlLevelUpLearnset,
[SPECIES_POLIWRATH] = sPoliwrathLevelUpLearnset,
[SPECIES_ABRA] = sAbraLevelUpLearnset,
[SPECIES_KADABRA] = sKadabraLevelUpLearnset,
[SPECIES_ALAKAZAM] = sAlakazamLevelUpLearnset,
[SPECIES_MACHOP] = sMachopLevelUpLearnset,
[SPECIES_MACHOKE] = sMachokeLevelUpLearnset,
[SPECIES_MACHAMP] = sMachampLevelUpLearnset,
[SPECIES_BELLSPROUT] = sBellsproutLevelUpLearnset,
[SPECIES_WEEPINBELL] = sWeepinbellLevelUpLearnset,
[SPECIES_VICTREEBEL] = sVictreebelLevelUpLearnset,
[SPECIES_TENTACOOL] = sTentacoolLevelUpLearnset,
[SPECIES_TENTACRUEL] = sTentacruelLevelUpLearnset,
[SPECIES_GEODUDE] = sGeodudeLevelUpLearnset,
[SPECIES_GRAVELER] = sGravelerLevelUpLearnset,
[SPECIES_GOLEM] = sGolemLevelUpLearnset,
[SPECIES_PONYTA] = sPonytaLevelUpLearnset,
[SPECIES_RAPIDASH] = sRapidashLevelUpLearnset,
[SPECIES_SLOWPOKE] = sSlowpokeLevelUpLearnset,
[SPECIES_SLOWBRO] = sSlowbroLevelUpLearnset,
[SPECIES_MAGNEMITE] = sMagnemiteLevelUpLearnset,
[SPECIES_MAGNETON] = sMagnetonLevelUpLearnset,
[SPECIES_FARFETCHD] = sFarfetchdLevelUpLearnset,
[SPECIES_DODUO] = sDoduoLevelUpLearnset,
[SPECIES_DODRIO] = sDodrioLevelUpLearnset,
[SPECIES_SEEL] = sSeelLevelUpLearnset,
[SPECIES_DEWGONG] = sDewgongLevelUpLearnset,
[SPECIES_GRIMER] = sGrimerLevelUpLearnset,
[SPECIES_MUK] = sMukLevelUpLearnset,
[SPECIES_SHELLDER] = sShellderLevelUpLearnset,
[SPECIES_CLOYSTER] = sCloysterLevelUpLearnset,
[SPECIES_GASTLY] = sGastlyLevelUpLearnset,
[SPECIES_HAUNTER] = sHaunterLevelUpLearnset,
[SPECIES_GENGAR] = sGengarLevelUpLearnset,
[SPECIES_ONIX] = sOnixLevelUpLearnset,
[SPECIES_DROWZEE] = sDrowzeeLevelUpLearnset,
[SPECIES_HYPNO] = sHypnoLevelUpLearnset,
[SPECIES_KRABBY] = sKrabbyLevelUpLearnset,
[SPECIES_KINGLER] = sKinglerLevelUpLearnset,
[SPECIES_VOLTORB] = sVoltorbLevelUpLearnset,
[SPECIES_ELECTRODE] = sElectrodeLevelUpLearnset,
[SPECIES_EXEGGCUTE] = sExeggcuteLevelUpLearnset,
[SPECIES_EXEGGUTOR] = sExeggutorLevelUpLearnset,
[SPECIES_CUBONE] = sCuboneLevelUpLearnset,
[SPECIES_MAROWAK] = sMarowakLevelUpLearnset,
[SPECIES_HITMONLEE] = sHitmonleeLevelUpLearnset,
[SPECIES_HITMONCHAN] = sHitmonchanLevelUpLearnset,
[SPECIES_LICKITUNG] = sLickitungLevelUpLearnset,
[SPECIES_KOFFING] = sKoffingLevelUpLearnset,
[SPECIES_WEEZING] = sWeezingLevelUpLearnset,
[SPECIES_RHYHORN] = sRhyhornLevelUpLearnset,
[SPECIES_RHYDON] = sRhydonLevelUpLearnset,
[SPECIES_CHANSEY] = sChanseyLevelUpLearnset,
[SPECIES_TANGELA] = sTangelaLevelUpLearnset,
[SPECIES_KANGASKHAN] = sKangaskhanLevelUpLearnset,
[SPECIES_HORSEA] = sHorseaLevelUpLearnset,
[SPECIES_SEADRA] = sSeadraLevelUpLearnset,
[SPECIES_GOLDEEN] = sGoldeenLevelUpLearnset,
[SPECIES_SEAKING] = sSeakingLevelUpLearnset,
[SPECIES_STARYU] = sStaryuLevelUpLearnset,
[SPECIES_STARMIE] = sStarmieLevelUpLearnset,
[SPECIES_MR_MIME] = sMrmimeLevelUpLearnset,
[SPECIES_SCYTHER] = sScytherLevelUpLearnset,
[SPECIES_JYNX] = sJynxLevelUpLearnset,
[SPECIES_ELECTABUZZ] = sElectabuzzLevelUpLearnset,
[SPECIES_MAGMAR] = sMagmarLevelUpLearnset,
[SPECIES_PINSIR] = sPinsirLevelUpLearnset,
[SPECIES_TAUROS] = sTaurosLevelUpLearnset,
[SPECIES_MAGIKARP] = sMagikarpLevelUpLearnset,
[SPECIES_GYARADOS] = sGyaradosLevelUpLearnset,
[SPECIES_LAPRAS] = sLaprasLevelUpLearnset,
[SPECIES_DITTO] = sDittoLevelUpLearnset,
[SPECIES_EEVEE] = sEeveeLevelUpLearnset,
[SPECIES_VAPOREON] = sVaporeonLevelUpLearnset,
[SPECIES_JOLTEON] = sJolteonLevelUpLearnset,
[SPECIES_FLAREON] = sFlareonLevelUpLearnset,
[SPECIES_PORYGON] = sPorygonLevelUpLearnset,
[SPECIES_OMANYTE] = sOmanyteLevelUpLearnset,
[SPECIES_OMASTAR] = sOmastarLevelUpLearnset,
[SPECIES_KABUTO] = sKabutoLevelUpLearnset,
[SPECIES_KABUTOPS] = sKabutopsLevelUpLearnset,
[SPECIES_AERODACTYL] = sAerodactylLevelUpLearnset,
[SPECIES_SNORLAX] = sSnorlaxLevelUpLearnset,
[SPECIES_ARTICUNO] = sArticunoLevelUpLearnset,
[SPECIES_ZAPDOS] = sZapdosLevelUpLearnset,
[SPECIES_MOLTRES] = sMoltresLevelUpLearnset,
[SPECIES_DRATINI] = sDratiniLevelUpLearnset,
[SPECIES_DRAGONAIR] = sDragonairLevelUpLearnset,
[SPECIES_DRAGONITE] = sDragoniteLevelUpLearnset,
[SPECIES_MEWTWO] = sMewtwoLevelUpLearnset,
[SPECIES_MEW] = sMewLevelUpLearnset,
[SPECIES_CHIKORITA] = sChikoritaLevelUpLearnset,
[SPECIES_BAYLEEF] = sBayleefLevelUpLearnset,
[SPECIES_MEGANIUM] = sMeganiumLevelUpLearnset,
[SPECIES_CYNDAQUIL] = sCyndaquilLevelUpLearnset,
[SPECIES_QUILAVA] = sQuilavaLevelUpLearnset,
[SPECIES_TYPHLOSION] = sTyphlosionLevelUpLearnset,
[SPECIES_TOTODILE] = sTotodileLevelUpLearnset,
[SPECIES_CROCONAW] = sCroconawLevelUpLearnset,
[SPECIES_FERALIGATR] = sFeraligatrLevelUpLearnset,
[SPECIES_SENTRET] = sSentretLevelUpLearnset,
[SPECIES_FURRET] = sFurretLevelUpLearnset,
[SPECIES_HOOTHOOT] = sHoothootLevelUpLearnset,
[SPECIES_NOCTOWL] = sNoctowlLevelUpLearnset,
[SPECIES_LEDYBA] = sLedybaLevelUpLearnset,
[SPECIES_LEDIAN] = sLedianLevelUpLearnset,
[SPECIES_SPINARAK] = sSpinarakLevelUpLearnset,
[SPECIES_ARIADOS] = sAriadosLevelUpLearnset,
[SPECIES_CROBAT] = sCrobatLevelUpLearnset,
[SPECIES_CHINCHOU] = sChinchouLevelUpLearnset,
[SPECIES_LANTURN] = sLanturnLevelUpLearnset,
[SPECIES_PICHU] = sPichuLevelUpLearnset,
[SPECIES_CLEFFA] = sCleffaLevelUpLearnset,
[SPECIES_IGGLYBUFF] = sIgglybuffLevelUpLearnset,
[SPECIES_TOGEPI] = sTogepiLevelUpLearnset,
[SPECIES_TOGETIC] = sTogeticLevelUpLearnset,
[SPECIES_NATU] = sNatuLevelUpLearnset,
[SPECIES_XATU] = sXatuLevelUpLearnset,
[SPECIES_MAREEP] = sMareepLevelUpLearnset,
[SPECIES_FLAAFFY] = sFlaaffyLevelUpLearnset,
[SPECIES_AMPHAROS] = sAmpharosLevelUpLearnset,
[SPECIES_BELLOSSOM] = sBellossomLevelUpLearnset,
[SPECIES_MARILL] = sMarillLevelUpLearnset,
[SPECIES_AZUMARILL] = sAzumarillLevelUpLearnset,
[SPECIES_SUDOWOODO] = sSudowoodoLevelUpLearnset,
[SPECIES_POLITOED] = sPolitoedLevelUpLearnset,
[SPECIES_HOPPIP] = sHoppipLevelUpLearnset,
[SPECIES_SKIPLOOM] = sSkiploomLevelUpLearnset,
[SPECIES_JUMPLUFF] = sJumpluffLevelUpLearnset,
[SPECIES_AIPOM] = sAipomLevelUpLearnset,
[SPECIES_SUNKERN] = sSunkernLevelUpLearnset,
[SPECIES_SUNFLORA] = sSunfloraLevelUpLearnset,
[SPECIES_YANMA] = sYanmaLevelUpLearnset,
[SPECIES_WOOPER] = sWooperLevelUpLearnset,
[SPECIES_QUAGSIRE] = sQuagsireLevelUpLearnset,
[SPECIES_ESPEON] = sEspeonLevelUpLearnset,
[SPECIES_UMBREON] = sUmbreonLevelUpLearnset,
[SPECIES_MURKROW] = sMurkrowLevelUpLearnset,
[SPECIES_SLOWKING] = sSlowkingLevelUpLearnset,
[SPECIES_MISDREAVUS] = sMisdreavusLevelUpLearnset,
[SPECIES_UNOWN] = sUnownLevelUpLearnset,
[SPECIES_WOBBUFFET] = sWobbuffetLevelUpLearnset,
[SPECIES_GIRAFARIG] = sGirafarigLevelUpLearnset,
[SPECIES_PINECO] = sPinecoLevelUpLearnset,
[SPECIES_FORRETRESS] = sForretressLevelUpLearnset,
[SPECIES_DUNSPARCE] = sDunsparceLevelUpLearnset,
[SPECIES_GLIGAR] = sGligarLevelUpLearnset,
[SPECIES_STEELIX] = sSteelixLevelUpLearnset,
[SPECIES_SNUBBULL] = sSnubbullLevelUpLearnset,
[SPECIES_GRANBULL] = sGranbullLevelUpLearnset,
[SPECIES_QWILFISH] = sQwilfishLevelUpLearnset,
[SPECIES_SCIZOR] = sScizorLevelUpLearnset,
[SPECIES_SHUCKLE] = sShuckleLevelUpLearnset,
[SPECIES_HERACROSS] = sHeracrossLevelUpLearnset,
[SPECIES_SNEASEL] = sSneaselLevelUpLearnset,
[SPECIES_TEDDIURSA] = sTeddiursaLevelUpLearnset,
[SPECIES_URSARING] = sUrsaringLevelUpLearnset,
[SPECIES_SLUGMA] = sSlugmaLevelUpLearnset,
[SPECIES_MAGCARGO] = sMagcargoLevelUpLearnset,
[SPECIES_SWINUB] = sSwinubLevelUpLearnset,
[SPECIES_PILOSWINE] = sPiloswineLevelUpLearnset,
[SPECIES_CORSOLA] = sCorsolaLevelUpLearnset,
[SPECIES_REMORAID] = sRemoraidLevelUpLearnset,
[SPECIES_OCTILLERY] = sOctilleryLevelUpLearnset,
[SPECIES_DELIBIRD] = sDelibirdLevelUpLearnset,
[SPECIES_MANTINE] = sMantineLevelUpLearnset,
[SPECIES_SKARMORY] = sSkarmoryLevelUpLearnset,
[SPECIES_HOUNDOUR] = sHoundourLevelUpLearnset,
[SPECIES_HOUNDOOM] = sHoundoomLevelUpLearnset,
[SPECIES_KINGDRA] = sKingdraLevelUpLearnset,
[SPECIES_PHANPY] = sPhanpyLevelUpLearnset,
[SPECIES_DONPHAN] = sDonphanLevelUpLearnset,
[SPECIES_PORYGON2] = sPorygon2LevelUpLearnset,
[SPECIES_STANTLER] = sStantlerLevelUpLearnset,
[SPECIES_SMEARGLE] = sSmeargleLevelUpLearnset,
[SPECIES_TYROGUE] = sTyrogueLevelUpLearnset,
[SPECIES_HITMONTOP] = sHitmontopLevelUpLearnset,
[SPECIES_SMOOCHUM] = sSmoochumLevelUpLearnset,
[SPECIES_ELEKID] = sElekidLevelUpLearnset,
[SPECIES_MAGBY] = sMagbyLevelUpLearnset,
[SPECIES_MILTANK] = sMiltankLevelUpLearnset,
[SPECIES_BLISSEY] = sBlisseyLevelUpLearnset,
[SPECIES_RAIKOU] = sRaikouLevelUpLearnset,
[SPECIES_ENTEI] = sEnteiLevelUpLearnset,
[SPECIES_SUICUNE] = sSuicuneLevelUpLearnset,
[SPECIES_LARVITAR] = sLarvitarLevelUpLearnset,
[SPECIES_PUPITAR] = sPupitarLevelUpLearnset,
[SPECIES_TYRANITAR] = sTyranitarLevelUpLearnset,
[SPECIES_LUGIA] = sLugiaLevelUpLearnset,
[SPECIES_HO_OH] = sHoOhLevelUpLearnset,
[SPECIES_CELEBI] = sCelebiLevelUpLearnset,
[SPECIES_OLD_UNOWN_B] = sSpecies252LevelUpLearnset,
[SPECIES_OLD_UNOWN_C] = sSpecies253LevelUpLearnset,
[SPECIES_OLD_UNOWN_D] = sSpecies254LevelUpLearnset,
[SPECIES_OLD_UNOWN_E] = sSpecies255LevelUpLearnset,
[SPECIES_OLD_UNOWN_F] = sSpecies256LevelUpLearnset,
[SPECIES_OLD_UNOWN_G] = sSpecies257LevelUpLearnset,
[SPECIES_OLD_UNOWN_H] = sSpecies258LevelUpLearnset,
[SPECIES_OLD_UNOWN_I] = sSpecies259LevelUpLearnset,
[SPECIES_OLD_UNOWN_J] = sSpecies260LevelUpLearnset,
[SPECIES_OLD_UNOWN_K] = sSpecies261LevelUpLearnset,
[SPECIES_OLD_UNOWN_L] = sSpecies262LevelUpLearnset,
[SPECIES_OLD_UNOWN_M] = sSpecies263LevelUpLearnset,
[SPECIES_OLD_UNOWN_N] = sSpecies264LevelUpLearnset,
[SPECIES_OLD_UNOWN_O] = sSpecies265LevelUpLearnset,
[SPECIES_OLD_UNOWN_P] = sSpecies266LevelUpLearnset,
[SPECIES_OLD_UNOWN_Q] = sSpecies267LevelUpLearnset,
[SPECIES_OLD_UNOWN_R] = sSpecies268LevelUpLearnset,
[SPECIES_OLD_UNOWN_S] = sSpecies269LevelUpLearnset,
[SPECIES_OLD_UNOWN_T] = sSpecies270LevelUpLearnset,
[SPECIES_OLD_UNOWN_U] = sSpecies271LevelUpLearnset,
[SPECIES_OLD_UNOWN_V] = sSpecies272LevelUpLearnset,
[SPECIES_OLD_UNOWN_W] = sSpecies273LevelUpLearnset,
[SPECIES_OLD_UNOWN_X] = sSpecies274LevelUpLearnset,
[SPECIES_OLD_UNOWN_Y] = sSpecies275LevelUpLearnset,
[SPECIES_OLD_UNOWN_Z] = sSpecies276LevelUpLearnset,
[SPECIES_TREECKO] = sTreeckoLevelUpLearnset,
[SPECIES_GROVYLE] = sGrovyleLevelUpLearnset,
[SPECIES_SCEPTILE] = sSceptileLevelUpLearnset,
[SPECIES_TORCHIC] = sTorchicLevelUpLearnset,
[SPECIES_COMBUSKEN] = sCombuskenLevelUpLearnset,
[SPECIES_BLAZIKEN] = sBlazikenLevelUpLearnset,
[SPECIES_MUDKIP] = sMudkipLevelUpLearnset,
[SPECIES_MARSHTOMP] = sMarshtompLevelUpLearnset,
[SPECIES_SWAMPERT] = sSwampertLevelUpLearnset,
[SPECIES_POOCHYENA] = sPoochyenaLevelUpLearnset,
[SPECIES_MIGHTYENA] = sMightyenaLevelUpLearnset,
[SPECIES_ZIGZAGOON] = sZigzagoonLevelUpLearnset,
[SPECIES_LINOONE] = sLinooneLevelUpLearnset,
[SPECIES_WURMPLE] = sWurmpleLevelUpLearnset,
[SPECIES_SILCOON] = sSilcoonLevelUpLearnset,
[SPECIES_BEAUTIFLY] = sBeautiflyLevelUpLearnset,
[SPECIES_CASCOON] = sCascoonLevelUpLearnset,
[SPECIES_DUSTOX] = sDustoxLevelUpLearnset,
[SPECIES_LOTAD] = sLotadLevelUpLearnset,
[SPECIES_LOMBRE] = sLombreLevelUpLearnset,
[SPECIES_LUDICOLO] = sLudicoloLevelUpLearnset,
[SPECIES_SEEDOT] = sSeedotLevelUpLearnset,
[SPECIES_NUZLEAF] = sNuzleafLevelUpLearnset,
[SPECIES_SHIFTRY] = sShiftryLevelUpLearnset,
[SPECIES_NINCADA] = sNincadaLevelUpLearnset,
[SPECIES_NINJASK] = sNinjaskLevelUpLearnset,
[SPECIES_SHEDINJA] = sShedinjaLevelUpLearnset,
[SPECIES_TAILLOW] = sTaillowLevelUpLearnset,
[SPECIES_SWELLOW] = sSwellowLevelUpLearnset,
[SPECIES_SHROOMISH] = sShroomishLevelUpLearnset,
[SPECIES_BRELOOM] = sBreloomLevelUpLearnset,
[SPECIES_SPINDA] = sSpindaLevelUpLearnset,
[SPECIES_WINGULL] = sWingullLevelUpLearnset,
[SPECIES_PELIPPER] = sPelipperLevelUpLearnset,
[SPECIES_SURSKIT] = sSurskitLevelUpLearnset,
[SPECIES_MASQUERAIN] = sMasquerainLevelUpLearnset,
[SPECIES_WAILMER] = sWailmerLevelUpLearnset,
[SPECIES_WAILORD] = sWailordLevelUpLearnset,
[SPECIES_SKITTY] = sSkittyLevelUpLearnset,
[SPECIES_DELCATTY] = sDelcattyLevelUpLearnset,
[SPECIES_KECLEON] = sKecleonLevelUpLearnset,
[SPECIES_BALTOY] = sBaltoyLevelUpLearnset,
[SPECIES_CLAYDOL] = sClaydolLevelUpLearnset,
[SPECIES_NOSEPASS] = sNosepassLevelUpLearnset,
[SPECIES_TORKOAL] = sTorkoalLevelUpLearnset,
[SPECIES_SABLEYE] = sSableyeLevelUpLearnset,
[SPECIES_BARBOACH] = sBarboachLevelUpLearnset,
[SPECIES_WHISCASH] = sWhiscashLevelUpLearnset,
[SPECIES_LUVDISC] = sLuvdiscLevelUpLearnset,
[SPECIES_CORPHISH] = sCorphishLevelUpLearnset,
[SPECIES_CRAWDAUNT] = sCrawdauntLevelUpLearnset,
[SPECIES_FEEBAS] = sFeebasLevelUpLearnset,
[SPECIES_MILOTIC] = sMiloticLevelUpLearnset,
[SPECIES_CARVANHA] = sCarvanhaLevelUpLearnset,
[SPECIES_SHARPEDO] = sSharpedoLevelUpLearnset,
[SPECIES_TRAPINCH] = sTrapinchLevelUpLearnset,
[SPECIES_VIBRAVA] = sVibravaLevelUpLearnset,
[SPECIES_FLYGON] = sFlygonLevelUpLearnset,
[SPECIES_MAKUHITA] = sMakuhitaLevelUpLearnset,
[SPECIES_HARIYAMA] = sHariyamaLevelUpLearnset,
[SPECIES_ELECTRIKE] = sElectrikeLevelUpLearnset,
[SPECIES_MANECTRIC] = sManectricLevelUpLearnset,
[SPECIES_NUMEL] = sNumelLevelUpLearnset,
[SPECIES_CAMERUPT] = sCameruptLevelUpLearnset,
[SPECIES_SPHEAL] = sSphealLevelUpLearnset,
[SPECIES_SEALEO] = sSealeoLevelUpLearnset,
[SPECIES_WALREIN] = sWalreinLevelUpLearnset,
[SPECIES_CACNEA] = sCacneaLevelUpLearnset,
[SPECIES_CACTURNE] = sCacturneLevelUpLearnset,
[SPECIES_SNORUNT] = sSnoruntLevelUpLearnset,
[SPECIES_GLALIE] = sGlalieLevelUpLearnset,
[SPECIES_LUNATONE] = sLunatoneLevelUpLearnset,
[SPECIES_SOLROCK] = sSolrockLevelUpLearnset,
[SPECIES_AZURILL] = sAzurillLevelUpLearnset,
[SPECIES_SPOINK] = sSpoinkLevelUpLearnset,
[SPECIES_GRUMPIG] = sGrumpigLevelUpLearnset,
[SPECIES_PLUSLE] = sPlusleLevelUpLearnset,
[SPECIES_MINUN] = sMinunLevelUpLearnset,
[SPECIES_MAWILE] = sMawileLevelUpLearnset,
[SPECIES_MEDITITE] = sMedititeLevelUpLearnset,
[SPECIES_MEDICHAM] = sMedichamLevelUpLearnset,
[SPECIES_SWABLU] = sSwabluLevelUpLearnset,
[SPECIES_ALTARIA] = sAltariaLevelUpLearnset,
[SPECIES_WYNAUT] = sWynautLevelUpLearnset,
[SPECIES_DUSKULL] = sDuskullLevelUpLearnset,
[SPECIES_DUSCLOPS] = sDusclopsLevelUpLearnset,
[SPECIES_ROSELIA] = sRoseliaLevelUpLearnset,
[SPECIES_SLAKOTH] = sSlakothLevelUpLearnset,
[SPECIES_VIGOROTH] = sVigorothLevelUpLearnset,
[SPECIES_SLAKING] = sSlakingLevelUpLearnset,
[SPECIES_GULPIN] = sGulpinLevelUpLearnset,
[SPECIES_SWALOT] = sSwalotLevelUpLearnset,
[SPECIES_TROPIUS] = sTropiusLevelUpLearnset,
[SPECIES_WHISMUR] = sWhismurLevelUpLearnset,
[SPECIES_LOUDRED] = sLoudredLevelUpLearnset,
[SPECIES_EXPLOUD] = sExploudLevelUpLearnset,
[SPECIES_CLAMPERL] = sClamperlLevelUpLearnset,
[SPECIES_HUNTAIL] = sHuntailLevelUpLearnset,
[SPECIES_GOREBYSS] = sGorebyssLevelUpLearnset,
[SPECIES_ABSOL] = sAbsolLevelUpLearnset,
[SPECIES_SHUPPET] = sShuppetLevelUpLearnset,
[SPECIES_BANETTE] = sBanetteLevelUpLearnset,
[SPECIES_SEVIPER] = sSeviperLevelUpLearnset,
[SPECIES_ZANGOOSE] = sZangooseLevelUpLearnset,
[SPECIES_RELICANTH] = sRelicanthLevelUpLearnset,
[SPECIES_ARON] = sAronLevelUpLearnset,
[SPECIES_LAIRON] = sLaironLevelUpLearnset,
[SPECIES_AGGRON] = sAggronLevelUpLearnset,
[SPECIES_CASTFORM] = sCastformLevelUpLearnset,
[SPECIES_VOLBEAT] = sVolbeatLevelUpLearnset,
[SPECIES_ILLUMISE] = sIllumiseLevelUpLearnset,
[SPECIES_LILEEP] = sLileepLevelUpLearnset,
[SPECIES_CRADILY] = sCradilyLevelUpLearnset,
[SPECIES_ANORITH] = sAnorithLevelUpLearnset,
[SPECIES_ARMALDO] = sArmaldoLevelUpLearnset,
[SPECIES_RALTS] = sRaltsLevelUpLearnset,
[SPECIES_KIRLIA] = sKirliaLevelUpLearnset,
[SPECIES_GARDEVOIR] = sGardevoirLevelUpLearnset,
[SPECIES_BAGON] = sBagonLevelUpLearnset,
[SPECIES_SHELGON] = sShelgonLevelUpLearnset,
[SPECIES_SALAMENCE] = sSalamenceLevelUpLearnset,
[SPECIES_BELDUM] = sBeldumLevelUpLearnset,
[SPECIES_METANG] = sMetangLevelUpLearnset,
[SPECIES_METAGROSS] = sMetagrossLevelUpLearnset,
[SPECIES_REGIROCK] = sRegirockLevelUpLearnset,
[SPECIES_REGICE] = sRegiceLevelUpLearnset,
[SPECIES_REGISTEEL] = sRegisteelLevelUpLearnset,
[SPECIES_KYOGRE] = sKyogreLevelUpLearnset,
[SPECIES_GROUDON] = sGroudonLevelUpLearnset,
[SPECIES_RAYQUAZA] = sRayquazaLevelUpLearnset,
[SPECIES_LATIAS] = sLatiasLevelUpLearnset,
[SPECIES_LATIOS] = sLatiosLevelUpLearnset,
[SPECIES_JIRACHI] = sJirachiLevelUpLearnset,
[SPECIES_DEOXYS] = sDeoxysLevelUpLearnset,
[SPECIES_CHIMECHO] = sChimechoLevelUpLearnset,
};
#endif //POKEEMERALD_LEVEL_UP_LEARNSET_POINTERS_H

File diff suppressed because it is too large Load diff

View file

@ -2089,7 +2089,7 @@ void GiveBoxMonInitialMoveset(struct BoxPokemon *boxMon)
s32 level = GetLevelFromBoxMonExp(boxMon);
s32 i;
for (i = 0; gLevelUpLearnsets[species][i] != (u16)-1; i++)
for (i = 0; gLevelUpLearnsets[species][i] != LEVEL_UP_END; i++)
{
u16 moveLevel;
u16 move;
@ -2101,7 +2101,7 @@ void GiveBoxMonInitialMoveset(struct BoxPokemon *boxMon)
move = (gLevelUpLearnsets[species][i] & 0x1FF);
if (GiveMoveToBoxMon(boxMon, move) == (u16)-1)
if (GiveMoveToBoxMon(boxMon, move) == 0xFFFF)
DeleteFirstMoveAndGiveMoveToBoxMon(boxMon, move);
}
}
@ -2123,7 +2123,7 @@ u16 MonTryLearningNewMove(struct Pokemon *mon, bool8 firstMove)
while ((gLevelUpLearnsets[species][sLearningMoveTableID] & 0xFE00) != (level << 9))
{
sLearningMoveTableID++;
if (gLevelUpLearnsets[species][sLearningMoveTableID] == 0xFFFF)
if (gLevelUpLearnsets[species][sLearningMoveTableID] == LEVEL_UP_END)
return 0;
}
}