pokeemerald/data/scripts/trainer_script.inc
2021-11-17 22:00:44 -05:00

24 lines
501 B
C++

Std_RegisteredInMatchCall::
buffertrainerclassname STR_VAR_1, VAR_0x8000
buffertrainername STR_VAR_2, VAR_0x8000
closemessage
delay 30
playfanfare MUS_REGISTER_MATCH_CALL
msgbox gText_RegisteredTrainerinPokeNav, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
return
EventScript_TryGetTrainerScript::
special ShouldTryGetTrainerScript
compare VAR_RESULT, TRUE
goto_if_eq EventScript_GotoTrainerScript
releaseall
end
EventScript_GotoTrainerScript::
gotobeatenscript
releaseall
end