2021-07-20 15:18:31 -04:00
|
|
|
Common_EventScript_SetupRivalGfxId::
|
2019-10-21 06:46:57 -04:00
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdFemale
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdMale
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalGfxIdFemale::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalGfxIdMale::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
Common_EventScript_SetupRivalOnBikeGfxId::
|
2019-10-21 06:46:57 -04:00
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalOnBikeGfxIdFemale
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalOnBikeGfxIdMale
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalOnBikeGfxIdFemale::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_MAY_MACH_BIKE
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalOnBikeGfxIdMale::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_BRENDAN_MACH_BIKE
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|
|
|
|
|
|
|
|
@ Unused
|
2021-07-20 15:18:31 -04:00
|
|
|
Common_EventScript_SetupRivalGfxIdSameGender::
|
2019-10-21 06:46:57 -04:00
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdMale2
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdFemale2
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalGfxIdMale2::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EventScript_SetupRivalGfxIdFemale2::
|
2019-11-20 23:12:51 -05:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
2019-10-21 06:46:57 -04:00
|
|
|
return
|