pokeemerald/data/scripts/trainer_script.inc
2019-10-21 17:22:19 -05:00

24 lines
504 B
C++

Std_RegisteredInMatchCall:: @ 82742C9
buffertrainerclassname 0, VAR_0x8000
buffertrainername 1, VAR_0x8000
closemessage
delay 30
playfanfare MUS_ME_TORE_EYE
msgbox gText_RegisteredTrainerinPokeNav, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
return
EventScript_TryGetTrainerScript:: @ 82742E6
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
goto_if_eq EventScript_GotoTrainerScript
releaseall
end
EventScript_GotoTrainerScript:: @ 82742F6
gotobeatenscript
releaseall
end