pokeemerald/data/scripts/trainer_script.inc

24 lines
482 B
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Std_RegisteredInMatchCall::
buffertrainerclassname 0, VAR_0x8000
buffertrainername 1, VAR_0x8000
closemessage
delay 30
2020-08-21 00:02:00 +02:00
playfanfare MUS_REGISTER_MATCH_CALL
msgbox gText_RegisteredTrainerinPokeNav, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
return
2021-07-20 21:18:31 +02:00
EventScript_TryGetTrainerScript::
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
goto_if_eq EventScript_GotoTrainerScript
releaseall
end
2021-07-20 21:18:31 +02:00
EventScript_GotoTrainerScript::
gotobeatenscript
releaseall
end