mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
24 lines
482 B
C++
24 lines
482 B
C++
Std_RegisteredInMatchCall::
|
|
buffertrainerclassname 0, VAR_0x8000
|
|
buffertrainername 1, 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, 1
|
|
goto_if_eq EventScript_GotoTrainerScript
|
|
releaseall
|
|
end
|
|
|
|
EventScript_GotoTrainerScript::
|
|
gotobeatenscript
|
|
releaseall
|
|
end
|