script: c02r0103/ev_c02r0103_rival

code

ev_c02r0103_rival:
    event_start()
    rival_name(0.0)
    player_name(1.0)
    talk_keywait("dp_scenario2%167-msg_c02r0103_rival_01")
    talk_close()
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_01")
    obj_anime("HERO", "anm_c02r0103_player_01")
    obj_anime_wait()
    player_pos_get(work: 238, work: 239)
    dummy_set_pos(work: 238, work: 239)
    camera_target_dummy()
    dummy_anime("anm_c02r0103_dummy_01")
    dummy_anime_wait()
    time_wait(10.0, work: 246)
    event_camera_index(213.0)
    chara_look_lock("HERO", "C02R0103_DOCTOR")
    rival_name(0.0)
    player_name(1.0)
    talk_keywait("dp_scenario2%167-msg_c02r0103_rival_02")
    talk_close()
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_00")
    obj_anime_wait()
    player_name(0.0)
    talk_keywait("dp_scenario2%167-msg_c02r0103_doctor_01")
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_face_sad")
    obj_anime_wait()
    rival_name(0.0)
    talk_keywait("dp_scenario2%167-msg_c02r0103_rival_05")
    talk_close()
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_face")
    obj_anime_wait()
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_80")
    obj_anime_wait()
    time_wait(10.0, work: 246)
    player_name(0.0)
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_01a_1")
    time_wait(15.0, work: 246)
    talk_keywait("dp_scenario2%167-msg_c02r0103_doctor_01a_2", 1.0)
    talk_close()
    event_camera_index(214.0)
    obj_anime("C02R0103_DOCTOR", "anm_c02r0103_doctor_01")
    obj_anime_wait()
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_02_1")
    set_force_blink("C02R0103_DOCTOR", 1.0)
    time_wait(15.0, work: 246)
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_02_2", 1.0)
    set_force_blink("C02R0103_DOCTOR", 0.0)
    time_wait(10.0, work: 246)
    talk_keywait("dp_scenario2%167-msg_c02r0103_doctor_02_3", 1.0)
    talk_close()
    event_camera_index(215.0)
    obj_anime("C02R0103_DOCTOR", "anm_c02r0103_doctor_02")
    obj_anime_wait()
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_03_1")
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_03_2", 1.0)
    talk_keywait("dp_scenario2%167-msg_c02r0103_doctor_03_3", 1.0)
    event_camera_index(216.0)
    rival_name(0.0)
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_face_ang")
    obj_anime_wait()
    talk_keywait("dp_scenario2%167-msg_c02r0103_rival_03")
    obj_anime("C02R0103_RIVAL", "anm_c02r0103_rival_face")
    obj_anime_wait()
    talkmsg("dp_scenario2%167-msg_c02r0103_doctor_04_1")
    talk_keywait("dp_scenario2%167-msg_c02r0103_doctor_04_2", 1.0)
    get_my_sex(work: 246)
    ifval_call(work: 246, "EQ", 0.0, "c02r0103_male_doctor_01")
    event_camera_index(217.0)
    chara_look_release("HERO")
    jump("c02r0103_female_doctor_01")
    end()

1 callers

script_set script invocation
sp_c02r0103 sp_c02r0103_tbl scene_change_data(work: 103, 1.0, "ev_c02r0103_rival")