kep-hack/data/maps/objects/CitrineTradebackHouse.asm
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

16 lines
397 B
NASM

CitrineTradebackHouse_Object:
db $a ; border block
def_warp_events
warp_event 2, 7, LAST_MAP, 2
warp_event 3, 7, LAST_MAP, 2
def_bg_events
def_object_events
object_event 2, 4, SPRITE_GAMBLER, STAY, RIGHT, 1 ; person
object_event 5, 4, SPRITE_COOLTRAINER_M, STAY, LEFT, 2 ; person
object_event 4, 3, SPRITE_PAPER, STAY, DOWN, 3 ; person
def_warps_to CITRINE_TRADEBACK_HOUSE