mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 04:34:28 +01:00
a46f7952f9
Also uses event object ids in LinkContestRoom1
459 lines
15 KiB
PHP
459 lines
15 KiB
PHP
LinkContestRoom1_MapScripts:: @ 823B781
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LinkContestRoom1_MapScript2_23B81F
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, LinkContestRoom1_MapScript2_23B815
|
|
map_script MAP_SCRIPT_ON_TRANSITION, LinkContestRoom1_OnTransition
|
|
map_script MAP_SCRIPT_ON_RESUME, LinkContestRoom1_MapScript1_23B803
|
|
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, LinkContestRoom1_MapScript1_23B79B
|
|
.byte 0
|
|
|
|
LinkContestRoom1_MapScript1_23B79B: @ 823B79B
|
|
special sub_80F8B94
|
|
end
|
|
|
|
LinkContestRoom1_OnTransition: @ 823B79F
|
|
call LinkContestRoom1_EventScript_23B7AF
|
|
setvar VAR_TEMP_0, 1
|
|
call LinkContestRoom1_EventScript_23B842
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23B7AF:: @ 823B7AF
|
|
call LinkContestRoom1_EventScript_27A133
|
|
special ScriptGetMultiplayerId
|
|
compare VAR_RESULT, 0
|
|
call_if_eq LinkContestRoom1_EventScript_23B7EF
|
|
compare VAR_RESULT, 1
|
|
call_if_eq LinkContestRoom1_EventScript_23B7F3
|
|
compare VAR_RESULT, 2
|
|
call_if_eq LinkContestRoom1_EventScript_23B7F7
|
|
compare VAR_RESULT, 3
|
|
call_if_eq LinkContestRoom1_EventScript_23B7FB
|
|
compare VAR_RESULT, 4
|
|
call_if_eq LinkContestRoom1_EventScript_23B7FF
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B7EF:: @ 823B7EF
|
|
savebgm MUS_TEST1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B7F3:: @ 823B7F3
|
|
savebgm MUS_TEST2
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B7F7:: @ 823B7F7
|
|
savebgm MUS_TEST3
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B7FB:: @ 823B7FB
|
|
savebgm MUS_TEST4
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B7FF:: @ 823B7FF
|
|
savebgm MUS_CONTEST0
|
|
return
|
|
|
|
LinkContestRoom1_MapScript1_23B803: @ 823B803
|
|
compare VAR_TEMP_9, 1
|
|
call_if_eq LinkContestRoom1_EventScript_23B80F
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23B80F:: @ 823B80F
|
|
call LinkContestRoom1_EventScript_23BB2B
|
|
return
|
|
|
|
LinkContestRoom1_MapScript2_23B815: @ 823B815
|
|
map_script_2 VAR_LINK_CONTEST_ROOM_STATE, 1, LinkContestRoom1_EventScript_23B829
|
|
.2byte 0
|
|
|
|
LinkContestRoom1_MapScript2_23B81F: @ 823B81F
|
|
map_script_2 VAR_LINK_CONTEST_ROOM_STATE, 1, LinkContestRoom1_EventScript_23B834
|
|
.2byte 0
|
|
|
|
LinkContestRoom1_EventScript_23B829:: @ 823B829
|
|
call LinkContestRoom1_EventScript_279F97
|
|
call LinkContestRoom1_EventScript_23BE44
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23B834:: @ 823B834
|
|
special sub_80F8B94
|
|
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_LITTLEROOT_TOWN
|
|
call LinkContestRoom1_EventScript_23BB2B
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23B842:: @ 823B842
|
|
call LinkContestRoom1_EventScript_23B8F8
|
|
call LinkContestRoom1_EventScript_23B858
|
|
compare VAR_TEMP_0, 8
|
|
goto_if_lt LinkContestRoom1_EventScript_23B842
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B858:: @ 823B858
|
|
switch VAR_TEMP_0
|
|
case 1, LinkContestRoom1_EventScript_23B8AB
|
|
case 2, LinkContestRoom1_EventScript_23B8B6
|
|
case 3, LinkContestRoom1_EventScript_23B8C1
|
|
case 4, LinkContestRoom1_EventScript_23B8CC
|
|
case 5, LinkContestRoom1_EventScript_23B8D7
|
|
case 6, LinkContestRoom1_EventScript_23B8E2
|
|
case 7, LinkContestRoom1_EventScript_23B8ED
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23B8AB:: @ 823B8AB
|
|
copyvar VAR_OBJ_GFX_ID_4, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8B6:: @ 823B8B6
|
|
copyvar VAR_OBJ_GFX_ID_5, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8C1:: @ 823B8C1
|
|
copyvar VAR_OBJ_GFX_ID_6, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8CC:: @ 823B8CC
|
|
copyvar VAR_OBJ_GFX_ID_7, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8D7:: @ 823B8D7
|
|
copyvar VAR_OBJ_GFX_ID_8, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8E2:: @ 823B8E2
|
|
copyvar VAR_OBJ_GFX_ID_9, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8ED:: @ 823B8ED
|
|
copyvar VAR_OBJ_GFX_ID_A, VAR_TEMP_1
|
|
addvar VAR_TEMP_0, 1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23B8F8:: @ 823B8F8
|
|
setvar VAR_RESULT, 32
|
|
special ScriptRandom
|
|
addvar VAR_RESULT, 1
|
|
switch VAR_RESULT
|
|
case 1, LinkContestRoom1_EventScript_23BA6B
|
|
case 2, LinkContestRoom1_EventScript_23BA71
|
|
case 3, LinkContestRoom1_EventScript_23BA77
|
|
case 4, LinkContestRoom1_EventScript_23BA7D
|
|
case 5, LinkContestRoom1_EventScript_23BA83
|
|
case 6, LinkContestRoom1_EventScript_23BA89
|
|
case 7, LinkContestRoom1_EventScript_23BA8F
|
|
case 8, LinkContestRoom1_EventScript_23BA95
|
|
case 9, LinkContestRoom1_EventScript_23BA9B
|
|
case 10, LinkContestRoom1_EventScript_23BAA1
|
|
case 11, LinkContestRoom1_EventScript_23BAA7
|
|
case 12, LinkContestRoom1_EventScript_23BAAD
|
|
case 13, LinkContestRoom1_EventScript_23BAB3
|
|
case 14, LinkContestRoom1_EventScript_23BAB9
|
|
case 15, LinkContestRoom1_EventScript_23BABF
|
|
case 16, LinkContestRoom1_EventScript_23BAC5
|
|
case 17, LinkContestRoom1_EventScript_23BACB
|
|
case 18, LinkContestRoom1_EventScript_23BAD1
|
|
case 19, LinkContestRoom1_EventScript_23BAD7
|
|
case 20, LinkContestRoom1_EventScript_23BADD
|
|
case 21, LinkContestRoom1_EventScript_23BAE3
|
|
case 22, LinkContestRoom1_EventScript_23BAE9
|
|
case 23, LinkContestRoom1_EventScript_23BAEF
|
|
case 24, LinkContestRoom1_EventScript_23BAF5
|
|
case 25, LinkContestRoom1_EventScript_23BAFB
|
|
case 26, LinkContestRoom1_EventScript_23BB01
|
|
case 27, LinkContestRoom1_EventScript_23BB07
|
|
case 28, LinkContestRoom1_EventScript_23BB0D
|
|
case 29, LinkContestRoom1_EventScript_23BB13
|
|
case 30, LinkContestRoom1_EventScript_23BB19
|
|
case 31, LinkContestRoom1_EventScript_23BB1F
|
|
case 32, LinkContestRoom1_EventScript_23BB25
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23BA6B:: @ 823BA6B
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_NINJA_BOY
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA71:: @ 823BA71
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_TWIN
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA77:: @ 823BA77
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BOY_1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA7D:: @ 823BA7D
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA83:: @ 823BA83
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_2
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA89:: @ 823BA89
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LITTLE_BOY
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA8F:: @ 823BA8F
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LITTLE_GIRL
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA95:: @ 823BA95
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BOY_3
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BA9B:: @ 823BA9B
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_3
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAA1:: @ 823BAA1
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_RICH_BOY
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAA7:: @ 823BAA7
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_FAT_MAN
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAAD:: @ 823BAAD
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_POKEFAN_F
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAB3:: @ 823BAB3
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_MAN_1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAB9:: @ 823BAB9
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_2
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BABF:: @ 823BABF
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_EXPERT_M
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAC5:: @ 823BAC5
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_EXPERT_F
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BACB:: @ 823BACB
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_POKEFAN_M
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAD1:: @ 823BAD1
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_4
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAD7:: @ 823BAD7
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_COOK
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BADD:: @ 823BADD
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LASS
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAE3:: @ 823BAE3
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_OLD_WOMAN
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAE9:: @ 823BAE9
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_CAMPER
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAEF:: @ 823BAEF
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_PICNICKER
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAF5:: @ 823BAF5
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_MAN_3
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BAFB:: @ 823BAFB
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_5
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB01:: @ 823BB01
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_YOUNGSTER
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB07:: @ 823BB07
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BUG_CATCHER
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB0D:: @ 823BB0D
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_PSYCHIC_M
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB13:: @ 823BB13
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_SCHOOL_KID_M
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB19:: @ 823BB19
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BLACK_BELT
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB1F:: @ 823BB1F
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BEAUTY
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB25:: @ 823BB25
|
|
setvar VAR_TEMP_1, EVENT_OBJ_GFX_SCIENTIST_1
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB2B:: @ 823BB2B
|
|
specialvar VAR_RESULT, sub_80F9160
|
|
compare VAR_RESULT, 1
|
|
goto_if_eq LinkContestRoom1_EventScript_23BD86
|
|
switch VAR_CONTEST_LOCATION
|
|
case 1, LinkContestRoom1_EventScript_23BB78
|
|
case 2, LinkContestRoom1_EventScript_23BB8B
|
|
case 3, LinkContestRoom1_EventScript_23BBE6
|
|
case 4, LinkContestRoom1_EventScript_23BC92
|
|
case 5, LinkContestRoom1_EventScript_23BC92
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB78:: @ 823BB78
|
|
createvobject EVENT_OBJ_GFX_NINJA_BOY, 20, 3, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BB8B:: @ 823BB8B
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 3, 2, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 13, 12, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_LASS, 20, 3, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BBE6:: @ 823BBE6
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_GENTLEMAN, 3, 2, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_EXPERT_F, 20, 3, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_MAN_2, 20, 6, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_WOMAN_5, 20, 7, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 8, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_GENTLEMAN, 24, 11, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_LITTLE_BOY, 25, 3, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_YOUNGSTER, 26, 4, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_FAT_MAN, 27, 5, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_HEX_MANIAC, 28, 9, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_SCHOOL_KID_M, 29, 10, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 30, 11, 9, 3, DIR_NORTH
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BC92:: @ 823BC92
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 3, 2, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MANIAC, 4, 1, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_5, 6, 1, 5, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_4, 7, 1, 6, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_GENTLEMAN, 9, 1, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_FISHERMAN, 14, 13, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_RUNNING_TRIATHLETE_F, 15, 13, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_MAN_4, 17, 13, 6, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 18, 13, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_DEVON_EMPLOYEE, 19, 13, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_POKEFAN_M, 20, 3, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_CAMPER, 21, 6, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_MAN_3, 22, 7, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SAILOR, 25, 3, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_YOUNGSTER, 26, 4, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_GENTLEMAN, 27, 5, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_HEX_MANIAC, 28, 9, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_SCHOOL_KID_M, 29, 10, 9, 3, DIR_NORTH
|
|
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 30, 11, 9, 3, DIR_NORTH
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BD86:: @ 823BD86
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 3, 2, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_MANIAC, 4, 1, 3, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_5, 6, 1, 5, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_4, 7, 1, 6, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_GENTLEMAN, 9, 1, 8, 3, DIR_EAST
|
|
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_FISHERMAN, 14, 13, 3, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_RUNNING_TRIATHLETE_F, 15, 13, 4, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_MAN_4, 17, 13, 6, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 18, 13, 7, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_DEVON_EMPLOYEE, 19, 13, 8, 3, DIR_WEST
|
|
createvobject EVENT_OBJ_GFX_POKEFAN_M, 20, 3, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_CAMPER, 21, 6, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_MAN_3, 22, 7, 2, 3, DIR_SOUTH
|
|
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BE44:: @ 823BE44
|
|
special sub_80F9154
|
|
switch VAR_CONTEST_LOCATION
|
|
case 1, LinkContestRoom1_EventScript_23BE84
|
|
case 2, LinkContestRoom1_EventScript_23BE8E
|
|
case 3, LinkContestRoom1_EventScript_23BE98
|
|
case 4, LinkContestRoom1_EventScript_23BEA2
|
|
case 5, LinkContestRoom1_EventScript_23BEAC
|
|
return
|
|
|
|
LinkContestRoom1_EventScript_23BE84:: @ 823BE84
|
|
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
|
|
waitstate
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23BE8E:: @ 823BE8E
|
|
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
|
|
waitstate
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23BE98:: @ 823BE98
|
|
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
|
|
waitstate
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23BEA2:: @ 823BEA2
|
|
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
|
|
waitstate
|
|
end
|
|
|
|
LinkContestRoom1_EventScript_23BEAC:: @ 823BEAC
|
|
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 15, 4
|
|
waitstate
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_23BEB6:: @ 823BEB6
|
|
checkplayergender
|
|
compare VAR_RESULT, MALE
|
|
goto_if_eq LilycoveCity_ContestLobby_EventScript_23BECE
|
|
compare VAR_RESULT, FEMALE
|
|
goto_if_eq LilycoveCity_ContestLobby_EventScript_23BED4
|
|
return
|
|
|
|
LilycoveCity_ContestLobby_EventScript_23BECE:: @ 823BECE
|
|
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
|
return
|
|
|
|
LilycoveCity_ContestLobby_EventScript_23BED4:: @ 823BED4
|
|
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
|
return
|
|
|