kep-hack/engine
Llinos Evans 2f01628cd9 Groundwork for Tradeback Move Tutor
Currently the move tutor is a little bit broken - the IDs are 1 above how they should be. Shell speculates that it's searching at the table starting from Kangaskhan due to the way the decrements shake up but it may just be making things more complicated than they are.

Big cheese code is `PrepareTradebackMoveList`, it's where things are mucking up.

Also, the code can be significantly optimised, as it's currently being adapted from the function above, `PrepareRelearnableMoveList`; It doesn't need to check levels, for example.

Note that the relearner functions properly, so use it as a reference. I may have removed something important.

Technically, we could have NO_MON as an entry which may make things shake out properly. But I'd rather have a proper fix.
2023-04-23 06:11:05 +01:00
..
battle FEROCIOUS KICKS AND PUNCHES 2023-04-23 00:26:33 +01:00
debug Groundwork for Tradeback Move Tutor 2023-04-23 06:11:05 +01:00
events Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
gfx Polishing Celeste Hill a bit 2023-04-19 10:19:20 +01:00
items Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
link Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
math Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
menus Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
movie Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
overworld Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
pokemon Groundwork for Tradeback Move Tutor 2023-04-23 06:11:05 +01:00
slots Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
flag_action.asm split code out of main.asm 2016-12-31 17:23:54 -08:00
joypad.asm Specify the ldh instruction, don't turn ld into ldh 2020-07-06 19:03:05 -04:00
play_time.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
predefs.asm More WRAM label cleanup (still needs UNIONs and renaming) 2021-05-31 16:25:16 -04:00