pokeemerald/data/scripts/rival_graphics.inc

43 lines
1.2 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Common_EventScript_SetupRivalGfxId::
checkplayergender
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalGfxIdFemale
goto_if_eq VAR_RESULT, FEMALE, 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
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalOnBikeGfxIdFemale
goto_if_eq VAR_RESULT, FEMALE, 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
goto_if_eq VAR_RESULT, MALE, EventScript_SetupRivalGfxIdMale2
goto_if_eq VAR_RESULT, FEMALE, 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