Use MON_GIVEN_TO_ constants for givemon
This commit is contained in:
@@ -146,8 +146,8 @@ RustboroCity_DevonCorp_2F_EventScript_AnorithReady::
|
||||
RustboroCity_DevonCorp_2F_EventScript_ReceiveLileep::
|
||||
setvar VAR_TEMP_1, SPECIES_LILEEP
|
||||
givemon SPECIES_LILEEP, 20
|
||||
goto_if_eq VAR_RESULT, 0, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepParty
|
||||
goto_if_eq VAR_RESULT, 1, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepPC
|
||||
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepParty
|
||||
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, RustboroCity_DevonCorp_2F_EventScript_ReceiveLileepPC
|
||||
goto Common_EventScript_NoMoreRoomForPokemon
|
||||
end
|
||||
|
||||
@@ -191,8 +191,8 @@ RustboroCity_DevonCorp_2F_EventScript_FinishReceivingLileep::
|
||||
RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorith::
|
||||
setvar VAR_TEMP_1, SPECIES_ANORITH
|
||||
givemon SPECIES_ANORITH, 20
|
||||
goto_if_eq VAR_RESULT, 0, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithParty
|
||||
goto_if_eq VAR_RESULT, 1, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithPC
|
||||
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PARTY, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithParty
|
||||
goto_if_eq VAR_RESULT, MON_GIVEN_TO_PC, RustboroCity_DevonCorp_2F_EventScript_ReceiveAnorithPC
|
||||
goto Common_EventScript_NoMoreRoomForPokemon
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user