mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
Common_EventScript_SetupRivalGfxId::
|
|
checkplayergender
|
|
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalGfxIdFemale
|
|
goto_if_eq VAR_RESULT, FEMALE, EventScript_SetupRivalGfxIdMale
|
|
end
|
|
|
|
EventScript_SetupRivalGfxIdFemale::
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
|
return
|
|
|
|
EventScript_SetupRivalGfxIdMale::
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
|
return
|
|
|
|
Common_EventScript_SetupRivalOnBikeGfxId::
|
|
checkplayergender
|
|
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalOnBikeGfxIdFemale
|
|
goto_if_eq VAR_RESULT, FEMALE, EventScript_SetupRivalOnBikeGfxIdMale
|
|
end
|
|
|
|
EventScript_SetupRivalOnBikeGfxIdFemale::
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_MAY_MACH_BIKE
|
|
return
|
|
|
|
EventScript_SetupRivalOnBikeGfxIdMale::
|
|
setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_BRENDAN_MACH_BIKE
|
|
return
|
|
|
|
@ Unused
|
|
Common_EventScript_SetupRivalGfxIdSameGender::
|
|
checkplayergender
|
|
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalGfxIdMale2
|
|
goto_if_eq VAR_RESULT, FEMALE, EventScript_SetupRivalGfxIdFemale2
|
|
end
|
|
|
|
EventScript_SetupRivalGfxIdMale2::
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
|
|
return
|
|
|
|
EventScript_SetupRivalGfxIdFemale2::
|
|
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
|
|
return
|