script set: c05gym0101

code

ev_c05gym0101_flag_change:
    set_sys_flag(sys_flag: 782)
    if_flagoff_call(sys_flag: 45, "ev_c05gym0101_lift_event_off")
    init_ghost_gym()
    end()

ev_c05gym0101_lift_event_off:
    flag_set(flag: 1378)
    ret()

ev_c05gym0101_scene_change:
    event_start()
    jump("ev_c05gym0101_gym_first")
    end()

pos_c05gym0101_lift:
    move_ghost_gym_lift()
    end()

ev_c05gym0101_gym_first:
    event_start()
    call("ev_block_doc")
    ifval_jump(work: 351, "NE", 0.0, "ev_c05gym0101_gym_first_end")
    event_camera_index(118.0)
    event_camera_end_wait()
    jump("ev_c05gym0101_gym_first01")
    end()

ev_c05gym0101_gym_first01:
    event_camera_index(119.0)
    ldval(work: 351, 1.0)
    call("ev_block_doc_end")
    event_end()
    end()

ev_c05gym0101_gym_first_end:
    call("ev_block_doc_end")
    end()

ev_c05gym0101_question:
    talk_start()
    se_play("S_FI108")
    talkmsg("dp_scenario2%35-msg_c05gym0101_sign1_01")
    last_keywait()
    talk_close()
    talk_end()
    end()

ev_c05gym0101_advice:
    talk_obj_start()
    if_flagoff_jump(sys_flag: 45, "ev_c05gym0101_advice_03")
    sys_flag_badge_get(sys_flag: 128, work: 246)
    ifval_jump(work: 246, "EQ", 1.0, "ev_c05gym0101_advice_02")
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_01_1")
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_01_2")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c05gym0101_advice_02:
    player_name(0.0)
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_02")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c05gym0101_advice_03:
    if_flagon_jump(flag: 124, "ev_c05gym0101_advice_04")
    flag_set(flag: 124)
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_a_01_1")
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_a_01_2")
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_a_01_3")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c05gym0101_advice_04:
    talkmsg("dp_scenario2%35-msg_c05gym0101_sunglasses_a_02")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c05gym0101_statue:
    talk_start()
    sys_flag_badge_get(sys_flag: 128, work: 246)
    ifval_jump(work: 246, "EQ", 1.0, "ev_c05gym0101_statue_02")
    rival_name(0.0)
    rival_name(1.0)
    talkmsg("dp_scenario2%35-msg_c05gym0101_statue_01")
    last_keywait()
    talk_close()
    talk_end()
    end()

ev_c05gym0101_statue_02:
    rival_name(0.0)
    player_name(1.0)
    rival_name(2.0)
    talkmsg("dp_scenario2%35-msg_c05gym0101_statue_02")
    last_keywait()
    talk_close()
    talk_end()
    end()