mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
23 lines
493 B
C++
23 lines
493 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
|
|
goto_if_eq VAR_RESULT, TRUE, EventScript_GotoTrainerScript
|
|
releaseall
|
|
end
|
|
|
|
EventScript_GotoTrainerScript::
|
|
gotobeatenscript
|
|
releaseall
|
|
end
|