mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
Use MON_GIVEN_TO_ constants for givemon
This commit is contained in:
parent
49418f8c01
commit
f899a02ac6
@ -341,8 +341,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_GiveCyndaquil::
|
|||||||
bufferspeciesname STR_VAR_1, SPECIES_CYNDAQUIL
|
bufferspeciesname STR_VAR_1, SPECIES_CYNDAQUIL
|
||||||
setvar VAR_TEMP_1, SPECIES_CYNDAQUIL
|
setvar VAR_TEMP_1, SPECIES_CYNDAQUIL
|
||||||
givemon SPECIES_CYNDAQUIL, 5
|
givemon SPECIES_CYNDAQUIL, 5
|
||||||
goto_if_eq VAR_RESULT, 0, LittlerootTown_ProfessorBirchsLab_EventScript_SendCyndaquilToParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, LittlerootTown_ProfessorBirchsLab_EventScript_SendCyndaquilToParty
|
||||||
goto_if_eq VAR_RESULT, 1, LittlerootTown_ProfessorBirchsLab_EventScript_SendCyndaquilToPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, LittlerootTown_ProfessorBirchsLab_EventScript_SendCyndaquilToPC
|
||||||
hidemonpic
|
hidemonpic
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
@ -382,8 +382,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_GiveTotodile::
|
|||||||
bufferspeciesname STR_VAR_1, SPECIES_TOTODILE
|
bufferspeciesname STR_VAR_1, SPECIES_TOTODILE
|
||||||
setvar VAR_TEMP_1, SPECIES_TOTODILE
|
setvar VAR_TEMP_1, SPECIES_TOTODILE
|
||||||
givemon SPECIES_TOTODILE, 5
|
givemon SPECIES_TOTODILE, 5
|
||||||
goto_if_eq VAR_RESULT, 0, LittlerootTown_ProfessorBirchsLab_EventScript_SendTotodileToParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, LittlerootTown_ProfessorBirchsLab_EventScript_SendTotodileToParty
|
||||||
goto_if_eq VAR_RESULT, 1, LittlerootTown_ProfessorBirchsLab_EventScript_SendTotodileToPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, LittlerootTown_ProfessorBirchsLab_EventScript_SendTotodileToPC
|
||||||
hidemonpic
|
hidemonpic
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
@ -423,8 +423,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_GiveChikorita::
|
|||||||
bufferspeciesname STR_VAR_1, SPECIES_CHIKORITA
|
bufferspeciesname STR_VAR_1, SPECIES_CHIKORITA
|
||||||
setvar VAR_TEMP_1, SPECIES_CHIKORITA
|
setvar VAR_TEMP_1, SPECIES_CHIKORITA
|
||||||
givemon SPECIES_CHIKORITA, 5
|
givemon SPECIES_CHIKORITA, 5
|
||||||
goto_if_eq VAR_RESULT, 0, LittlerootTown_ProfessorBirchsLab_EventScript_SendChikoritaToParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, LittlerootTown_ProfessorBirchsLab_EventScript_SendChikoritaToParty
|
||||||
goto_if_eq VAR_RESULT, 1, LittlerootTown_ProfessorBirchsLab_EventScript_SendChikoritaToPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, LittlerootTown_ProfessorBirchsLab_EventScript_SendChikoritaToPC
|
||||||
hidemonpic
|
hidemonpic
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
|
@ -87,8 +87,8 @@ MossdeepCity_StevensHouse_EventScript_LeaveBeldum::
|
|||||||
MossdeepCity_StevensHouse_EventScript_GiveBeldum::
|
MossdeepCity_StevensHouse_EventScript_GiveBeldum::
|
||||||
setvar VAR_TEMP_1, SPECIES_BELDUM
|
setvar VAR_TEMP_1, SPECIES_BELDUM
|
||||||
givemon SPECIES_BELDUM, 5
|
givemon SPECIES_BELDUM, 5
|
||||||
goto_if_eq VAR_RESULT, 0, MossdeepCity_StevensHouse_EventScript_SendBeldumParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, MossdeepCity_StevensHouse_EventScript_SendBeldumParty
|
||||||
goto_if_eq VAR_RESULT, 1, MossdeepCity_StevensHouse_EventScript_SendBeldumPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, MossdeepCity_StevensHouse_EventScript_SendBeldumPC
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -90,8 +90,8 @@ Route119_WeatherInstitute_2F_EventScript_ReceiveCastform::
|
|||||||
msgbox Route119_WeatherInstitute_2F_Text_ThanksPleaseTakePokemon, MSGBOX_DEFAULT
|
msgbox Route119_WeatherInstitute_2F_Text_ThanksPleaseTakePokemon, MSGBOX_DEFAULT
|
||||||
setvar VAR_TEMP_1, SPECIES_CASTFORM
|
setvar VAR_TEMP_1, SPECIES_CASTFORM
|
||||||
givemon SPECIES_CASTFORM, 25, ITEM_MYSTIC_WATER
|
givemon SPECIES_CASTFORM, 25, ITEM_MYSTIC_WATER
|
||||||
goto_if_eq VAR_RESULT, 0, Route119_WeatherInstitute_2F_EventScript_ReceiveCastformParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, Route119_WeatherInstitute_2F_EventScript_ReceiveCastformParty
|
||||||
goto_if_eq VAR_RESULT, 1, Route119_WeatherInstitute_2F_EventScript_ReceiveCastformPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, Route119_WeatherInstitute_2F_EventScript_ReceiveCastformPC
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -146,8 +146,8 @@ RustboroCity_DevonCorp_2F_EventScript_AnorithReady::
|
|||||||
RustboroCity_DevonCorp_2F_EventScript_ReceiveLileep::
|
RustboroCity_DevonCorp_2F_EventScript_ReceiveLileep::
|
||||||
setvar VAR_TEMP_1, SPECIES_LILEEP
|
setvar VAR_TEMP_1, SPECIES_LILEEP
|
||||||
givemon SPECIES_LILEEP, 20
|
givemon SPECIES_LILEEP, 20
|
||||||
goto_if_eq VAR_RESULT, 0, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepParty
|
||||||
goto_if_eq VAR_RESULT, 1, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepPC
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -191,8 +191,8 @@ RustboroCity_DevonCorp_2F_EventScript_FinishReceivingLileep::
|
|||||||
RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorith::
|
RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorith::
|
||||||
setvar VAR_TEMP_1, SPECIES_ANORITH
|
setvar VAR_TEMP_1, SPECIES_ANORITH
|
||||||
givemon SPECIES_ANORITH, 20
|
givemon SPECIES_ANORITH, 20
|
||||||
goto_if_eq VAR_RESULT, 0, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithParty
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithParty
|
||||||
goto_if_eq VAR_RESULT, 1, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithPC
|
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithPC
|
||||||
goto Common_EventScript_NoMoreRoomForPokemon
|
goto Common_EventScript_NoMoreRoomForPokemon
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user