mirror of https://github.com/pret/pokeemerald.git
Use species constants for VAR_TEMP_1 before givemon
This commit is contained in:
parent
08c8ca8287
commit
d9115ada86
|
@ -334,7 +334,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA061:: @ 81FA061
|
|||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA06C:: @ 81FA06C
|
||||
bufferspeciesname 0, SPECIES_CYNDAQUIL
|
||||
setvar VAR_TEMP_1, 155
|
||||
setvar VAR_TEMP_1, SPECIES_CYNDAQUIL
|
||||
givemon SPECIES_CYNDAQUIL, 5, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1
|
||||
|
@ -379,7 +379,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD:: @ 81FA0FD
|
|||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA10D:: @ 81FA10D
|
||||
bufferspeciesname 0, SPECIES_TOTODILE
|
||||
setvar VAR_TEMP_1, 158
|
||||
setvar VAR_TEMP_1, SPECIES_TOTODILE
|
||||
givemon SPECIES_TOTODILE, 5, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA142
|
||||
|
@ -424,7 +424,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E:: @ 81FA19E
|
|||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA1AE:: @ 81FA1AE
|
||||
bufferspeciesname 0, SPECIES_CHIKORITA
|
||||
setvar VAR_TEMP_1, 152
|
||||
setvar VAR_TEMP_1, SPECIES_CHIKORITA
|
||||
givemon SPECIES_CHIKORITA, 5, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3
|
||||
|
|
|
@ -84,7 +84,7 @@ MossdeepCity_StevensHouse_EventScript_22285B:: @ 822285B
|
|||
end
|
||||
|
||||
MossdeepCity_StevensHouse_EventScript_222865:: @ 8222865
|
||||
setvar VAR_TEMP_1, 398
|
||||
setvar VAR_TEMP_1, SPECIES_BELDUM
|
||||
givemon SPECIES_BELDUM, 5, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_StevensHouse_EventScript_222895
|
||||
|
|
|
@ -83,7 +83,7 @@ Route119_WeatherInstitute_2F_EventScript_26FFC8:: @ 826FFC8
|
|||
|
||||
Route119_WeatherInstitute_2F_EventScript_27004D:: @ 827004D
|
||||
msgbox Route119_WeatherInstitute_2F_Text_270650, MSGBOX_DEFAULT
|
||||
setvar VAR_TEMP_1, 385
|
||||
setvar VAR_TEMP_1, SPECIES_CASTFORM
|
||||
givemon SPECIES_CASTFORM, 25, ITEM_MYSTIC_WATER, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_270085
|
||||
|
|
|
@ -156,7 +156,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A2C:: @ 8211A2C
|
|||
end
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211A3E:: @ 8211A3E
|
||||
setvar VAR_TEMP_1, 388
|
||||
setvar VAR_TEMP_1, SPECIES_LILEEP
|
||||
givemon SPECIES_LILEEP, 20, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211A6E
|
||||
|
@ -205,7 +205,7 @@ RustboroCity_DevonCorp_2F_EventScript_211AD7:: @ 8211AD7
|
|||
end
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211AE1:: @ 8211AE1
|
||||
setvar VAR_TEMP_1, 390
|
||||
setvar VAR_TEMP_1, SPECIES_ANORITH
|
||||
givemon SPECIES_ANORITH, 20, ITEM_NONE, 0x0, 0x0, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B11
|
||||
|
|
Loading…
Reference in New Issue