2019-10-21 10:46:57 +00:00
|
|
|
Common_EventScript_SetupRivalGfxId:: @ 8271ED7
|
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdFemale
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdMale
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_SetupRivalGfxIdFemale:: @ 8271EEF
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
EventScript_SetupRivalGfxIdMale:: @ 8271EF5
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
Common_EventScript_SetupRivalOnBikeGfxId:: @ 8271EFB
|
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalOnBikeGfxIdFemale
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalOnBikeGfxIdMale
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_SetupRivalOnBikeGfxIdFemale:: @ 8271F13
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_MAY_MACH_BIKE
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
EventScript_SetupRivalOnBikeGfxIdMale:: @ 8271F19
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_BRENDAN_MACH_BIKE
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
@ Unused
|
|
|
|
Common_EventScript_SetupRivalGfxIdSameGender:: @ 8271F1F
|
|
|
|
checkplayergender
|
|
|
|
compare VAR_RESULT, MALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdMale2
|
|
|
|
compare VAR_RESULT, FEMALE
|
|
|
|
goto_if_eq EventScript_SetupRivalGfxIdFemale2
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_SetupRivalGfxIdMale2:: @ 8271F37
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
EventScript_SetupRivalGfxIdFemale2:: @ 8271F3D
|
2019-11-21 04:12:51 +00:00
|
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
2019-10-21 10:46:57 +00:00
|
|
|
return
|