mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 10:23:34 +12:00

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.
37 lines
633 B
NASM
37 lines
633 B
NASM
_TradebackTutorGreetingText::
|
|
text "In a far-off land,"
|
|
line "our #MON can"
|
|
cont "learn different"
|
|
cont "moves."
|
|
|
|
para "For ¥1000, I can"
|
|
line "teach yours."
|
|
done
|
|
|
|
_TradebackTutorSaidYesText::
|
|
text "Which #MON"
|
|
line "should I tutor?"
|
|
prompt
|
|
|
|
_TradebackTutorNotEnoughMoneyText::
|
|
text "Great power comes"
|
|
line "at a price, you"
|
|
cont "know!"
|
|
done
|
|
|
|
_TradebackTutorWhichMoveText::
|
|
text "Which move should"
|
|
line "it learn?"
|
|
done
|
|
|
|
_TradebackTutorByeText::
|
|
text "If any of your"
|
|
line "#MON desires"
|
|
cont "power, come"
|
|
cont "visit me!"
|
|
done
|
|
|
|
_TradebackTutorNoMovesText::
|
|
text "This #MON"
|
|
line "isn't capable..."
|
|
done |