besteon / Ironmon-Tracker

A Lua script for the Bizhawk/mGBA emulator compatible with Pokemon Fire Red, Leaf Green, Ruby, Sapphire, and Emerald that tracks relevant data for the IronMon challenge.
MIT License
129 stars 45 forks source link

Code to track initial moveset of Pokemon used #494

Closed UTDZac closed 1 week ago

UTDZac commented 1 week ago

This solves an outstanding issue where the initial 4 moves of a player's lab/pivot Pokemon are never tracked, since the conditions for tracking a move were "used in battle" or "learned while leveling up".

This remedies that issue by doing a 1-time tracking of the current moveset when battling a trainer (player decided to run this Pokemon for real). It also only tracks moves within its initial moveset if that Pokemon could have naturally learned that move by level up.

Before 1st Trainer Battle

image

After 1st Trainer Battle

image