pokeemerald/data/scripts/rival_graphics.inc

49 lines
1.3 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Common_EventScript_SetupRivalGfxId::
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalGfxIdFemale
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalGfxIdMale
end
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalGfxIdFemale::
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalGfxIdMale::
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return
2021-07-20 21:18:31 +02:00
Common_EventScript_SetupRivalOnBikeGfxId::
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalOnBikeGfxIdFemale
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalOnBikeGfxIdMale
end
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalOnBikeGfxIdFemale::
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_MAY_MACH_BIKE
return
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalOnBikeGfxIdMale::
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_BRENDAN_MACH_BIKE
return
@ Unused
2021-07-20 21:18:31 +02:00
Common_EventScript_SetupRivalGfxIdSameGender::
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalGfxIdMale2
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalGfxIdFemale2
end
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalGfxIdMale2::
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return
2021-07-20 21:18:31 +02:00
EventScript_SetupRivalGfxIdFemale2::
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return