mirror of https://github.com/pret/pokeemerald.git
56 lines
1.8 KiB
PHP
56 lines
1.8 KiB
PHP
|
@ VAR_0x8004 here is used by ChangePokemonNickname
|
||
|
Common_EventScript_GetGiftMonPartySlot:: @ 827378B
|
||
|
getpartysize
|
||
|
subvar VAR_RESULT, 1
|
||
|
copyvar VAR_0x8004, VAR_RESULT
|
||
|
return
|
||
|
|
||
|
Common_EventScript_NameReceivedBoxMon:: @ 8273797
|
||
|
fadescreen 1
|
||
|
special ChangeBoxPokemonNickname
|
||
|
waitstate
|
||
|
lock
|
||
|
faceplayer
|
||
|
return
|
||
|
|
||
|
LittlerootTown_ProfessorBirchsLab_EventScript_2737A0:: @ 82737A0
|
||
|
MossdeepCity_StevensHouse_EventScript_2737A0:: @ 82737A0
|
||
|
Route119_WeatherInstitute_2F_EventScript_2737A0:: @ 82737A0
|
||
|
RustboroCity_DevonCorp_2F_EventScript_2737A0:: @ 82737A0
|
||
|
bufferboxname 0, VAR_PC_BOX_TO_SEND_MON
|
||
|
bufferspeciesname 1, VAR_TEMP_1
|
||
|
call_if_unset FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737BB
|
||
|
call_if_set FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737E6
|
||
|
return
|
||
|
|
||
|
LittlerootTown_ProfessorBirchsLab_EventScript_2737BB:: @ 82737BB
|
||
|
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
|
||
|
compare VAR_RESULT, 1
|
||
|
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737D4
|
||
|
msgbox gText_PkmnTransferredSomeonesPC, MSGBOX_DEFAULT
|
||
|
return
|
||
|
|
||
|
LittlerootTown_ProfessorBirchsLab_EventScript_2737D4:: @ 82737D4
|
||
|
specialvar VAR_RESULT, GetPCBoxToSendMon
|
||
|
bufferboxname 2, VAR_RESULT
|
||
|
msgbox gText_PkmnBoxSomeonesPCFull, MSGBOX_DEFAULT
|
||
|
return
|
||
|
|
||
|
LittlerootTown_ProfessorBirchsLab_EventScript_2737E6:: @ 82737E6
|
||
|
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
|
||
|
compare VAR_RESULT, 1
|
||
|
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737FF
|
||
|
msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT
|
||
|
return
|
||
|
|
||
|
LittlerootTown_ProfessorBirchsLab_EventScript_2737FF:: @ 82737FF
|
||
|
specialvar VAR_RESULT, GetPCBoxToSendMon
|
||
|
bufferboxname 2, VAR_RESULT
|
||
|
msgbox gText_PkmnBoxLanettesPCFull, MSGBOX_DEFAULT
|
||
|
return
|
||
|
|
||
|
Common_EventScript_NoMoreRoomForPokemon:: @ 8273811
|
||
|
msgbox gText_NoMoreRoomForPokemon, MSGBOX_DEFAULT
|
||
|
release
|
||
|
end
|