script set: r202

code

ev_r202_flag_change:
    get_my_sex(work: 0)
    ifval_jump(work: 0, "EQ", 0.0, "r202_male_flag_change_01")
    ifval_jump(work: 0, "EQ", 1.0, "r202_female_flag_change_01")
    end()

r202_male_flag_change_01:
    ldval(work: 32, "HEROINE")
    end()

r202_female_flag_change_01:
    ldval(work: 32, "HERO")
    end()

ev_r202_boy2:
    easy_obj_msg("dp_scenario1%10-msg_r202_boy2_01")
    end()

ev_r202_sign1:
    easy_board_msg("dp_scenario1%10-msg_r202_sign1_01", "BOARD_TYPE_ROAD", 0.0, 4.0)
    end()

ev_r202_sign2:
    easy_board_msg("dp_scenario1%10-msg_r202_sign2_01", "BOARD_TYPE_ROAD", 0.0, 3.0)
    end()

ev_r202_sign3:
    easy_infoboard_msg("dp_scenario1%10-msg_r202_sign3_01_1", "BOARD_TYPE_INFO", 0.0)
    easy_infoboard_msg("dp_scenario1%10-msg_r202_sign3_01_2", "BOARD_TYPE_INFO", 0.0)
    end()

pos_r202_support:
    event_start()
    obj_anime("R202_SUPPORT", "anm_01_r202_support_00")
    obj_anime("HERO", "anm_01_r202_player_00")
    obj_anime_wait()
    player_pos_get(work: 238, work: 239)
    ifval_jump(work: 239, "EQ", 825.0, "pos_r202_support_z01")
    ifval_jump(work: 239, "EQ", 826.0, "pos_r202_support_z02")
    ifval_jump(work: 239, "EQ", 827.0, "pos_r202_support_z03")
    ifval_jump(work: 239, "EQ", 828.0, "pos_r202_support_z04")
    ifval_jump(work: 239, "EQ", 829.0, "pos_r202_support_z05")
    end()

pos_r202_support_z01:
    obj_anime("R202_SUPPORT", "anm_r202_support_01")
    obj_anime_wait()
    jump("pos_r202_support_02_common")
    end()

pos_r202_support_z02:
    obj_anime("R202_SUPPORT", "anm_r202_support_02")
    obj_anime_wait()
    jump("pos_r202_support_02_common")
    end()

pos_r202_support_z03:
    obj_anime("R202_SUPPORT", "anm_r202_support_03")
    obj_anime_wait()
    jump("pos_r202_support_02_common")
    end()

pos_r202_support_z04:
    obj_anime("R202_SUPPORT", "anm_r202_support_04")
    obj_anime_wait()
    jump("pos_r202_support_02_common")
    end()

pos_r202_support_z05:
    obj_anime("R202_SUPPORT", "anm_r202_support_05")
    obj_anime_wait()
    jump("pos_r202_support_02_common")
    end()

pos_r202_support_02_common:
    if_flagoff_jump(flag: 104, "pos_r202_support_stop")
    event_camera_index(922.0)
    event_camera_end_wait()
    call("ev_block_doc")
    get_my_sex(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "r202_support_male_01")
    ifval_jump(work: 246, "EQ", 1.0, "r202_support_female_01")
    end()

r202_support_male_01:
    chg_common_scr("ev_the_boy_girl_play")
    support_name(0.0)
    player_name(1.0)
    talkmsg("dp_scenario1%10-msg_r202_heroine_05_1")
    talkmsg("dp_scenario1%10-msg_r202_heroine_05_2", 1.0)
    jump("r202_01_support_common_01")
    end()

r202_support_female_01:
    chg_common_scr("ev_the_boy_girl_play")
    support_name(0.0)
    player_name(1.0)
    talkmsg("dp_scenario1%10-msg_r202_hero_05_1")
    talkmsg("dp_scenario1%10-msg_r202_hero_05_2", 1.0)
    jump("r202_01_support_common_01")
    end()

r202_01_support_common_01:
    talk_close()
    none_use_number()
    event_camera_index(923.0)
    event_camera_end_wait()
    obj_anime("R202_SUPPORT", "anm_r202_support_58")
    obj_anime("HERO", "anm_r202_player_58")
    obj_anime_wait()
    capture_btl_set()
    event_start()
    chg_common_scr("ev_the_boy_girl_stop")
    obj_anime("R202_SUPPORT", "anm_r202_support_60")
    obj_anime_wait()
    get_my_sex(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "r202_support_male_02")
    ifval_jump(work: 246, "EQ", 1.0, "r202_support_female_02")
    end()

r202_support_male_02:
    player_name(0.0)
    talkmsg("dp_scenario1%10-msg_r202_heroine_02_1")
    talkmsg("dp_scenario1%10-msg_r202_heroine_02_2", 1.0)
    talkmsg("dp_scenario1%10-msg_r202_heroine_02_3", 1.0)
    talk_keywait("dp_scenario1%10-msg_r202_heroine_02_4", 1.0)
    jump("r202_01_support_common_02")
    end()

r202_support_female_02:
    player_name(0.0)
    talkmsg("dp_scenario1%10-msg_r202_hero_02_1")
    talkmsg("dp_scenario1%10-msg_r202_hero_02_2", 1.0)
    talkmsg("dp_scenario1%10-msg_r202_hero_02_3", 1.0)
    talk_keywait("dp_scenario1%10-msg_r202_hero_02_4", 1.0)
    jump("r202_01_support_common_02")
    end()

r202_01_support_common_02:
    ldval(work: 238, 4.0)
    ldval(work: 239, 20.0)
    chg_common_scr("ev_item_event_keywait")
    get_my_sex(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "r202_support_male_03")
    ifval_jump(work: 246, "EQ", 1.0, "r202_support_female_03")
    end()

r202_support_male_03:
    player_name(0.0)
    talkmsg("dp_scenario1%10-msg_r202_heroine_03_1")
    talk_keywait("dp_scenario1%10-msg_r202_heroine_03_2", 1.0)
    talk_close()
    jump("r202_01_support_common_03")
    end()

r202_support_female_03:
    player_name(0.0)
    talkmsg("dp_scenario1%10-msg_r202_hero_03_1")
    talk_keywait("dp_scenario1%10-msg_r202_hero_03_2", 1.0)
    talk_close()
    jump("r202_01_support_common_03")
    end()

r202_01_support_common_03:
    obj_anime("R202_SUPPORT", "anm_03_r202_support_01")
    obj_anime_wait()
    obj_del("R202_SUPPORT")
    ldval(work: 69, 1.0)
    ldval(work: 249, 1900.0)
    call("ev_block_doc_end")
    event_end()
    end()

pos_r202_support_stop:
    get_my_sex(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "r202_support_male_50")
    ifval_jump(work: 246, "EQ", 1.0, "r202_support_female_50")
    end()

r202_support_male_50:
    support_name(0.0)
    player_name(1.0)
    if_flagoff_call(flag: 235, "r202_support_male_50_off")
    if_flagon_call(flag: 235, "r202_support_male_50_on")
    jump("r202_01_support_common_50")
    end()

r202_support_male_50_off:
    talkmsg("dp_scenario1%10-msg_r202_heroine_01_1")
    talk_keywait("dp_scenario1%10-msg_r202_heroine_01_2", 1.0)
    ret()

r202_support_male_50_on:
    talk_keywait("dp_scenario1%10-msg_r202_heroine_04")
    ret()

r202_support_female_50:
    support_name(0.0)
    player_name(1.0)
    if_flagoff_call(flag: 235, "r202_support_female_50_off")
    if_flagon_call(flag: 235, "r202_support_female_50_on")
    jump("r202_01_support_common_50")
    end()

r202_support_female_50_off:
    talkmsg("dp_scenario1%10-msg_r202_hero_01_1")
    talk_keywait("dp_scenario1%10-msg_r202_hero_01_2", 1.0)
    ret()

r202_support_female_50_on:
    talk_keywait("dp_scenario1%10-msg_r202_hero_04")
    ret()

r202_01_support_common_50:
    talk_close()
    player_pos_get(work: 238, work: 239)
    ifval_jump(work: 239, "EQ", 825.0, "pos_r202_support_z51")
    ifval_jump(work: 239, "EQ", 826.0, "pos_r202_support_z52")
    ifval_jump(work: 239, "EQ", 827.0, "pos_r202_support_z53")
    ifval_jump(work: 239, "EQ", 828.0, "pos_r202_support_z54")
    ifval_jump(work: 239, "EQ", 829.0, "pos_r202_support_z55")
    end()

pos_r202_support_z51:
    obj_anime("R202_SUPPORT", "anm_r202_support_51")
    obj_anime("HERO", "anm_r202_player_01")
    obj_anime_wait()
    jump("pos_r202_support_12_common")
    end()

pos_r202_support_z52:
    obj_anime("R202_SUPPORT", "anm_r202_support_52")
    obj_anime("HERO", "anm_r202_player_01")
    obj_anime_wait()
    jump("pos_r202_support_12_common")
    end()

pos_r202_support_z53:
    obj_anime("R202_SUPPORT", "anm_r202_support_53")
    obj_anime("HERO", "anm_r202_player_01")
    obj_anime_wait()
    jump("pos_r202_support_12_common")
    end()

pos_r202_support_z54:
    obj_anime("R202_SUPPORT", "anm_r202_support_54")
    obj_anime("HERO", "anm_r202_player_01")
    obj_anime_wait()
    jump("pos_r202_support_12_common")
    end()

pos_r202_support_z55:
    obj_anime("R202_SUPPORT", "anm_r202_support_55")
    obj_anime("HERO", "anm_r202_player_01")
    obj_anime_wait()
    jump("pos_r202_support_12_common")
    end()

pos_r202_support_12_common:
    flag_set(flag: 235)
    event_end()
    end()

anm_01_r202_support_00:
    ac_mark_gyoe(1.0)
    ac_dir_r(4.0)
    acmd_end()

anm_r202_support_01:
    ac_right(4.0, 8.0)
    ac_dir_u(8.0)
    ac_hero_match_z(8.0)
    ac_dir_r(8.0)
    ac_right(1.0, 8.0)
    acmd_end()

anm_r202_support_02:
    ac_right(4.0, 8.0)
    ac_dir_u(8.0)
    ac_hero_match_z(8.0)
    ac_dir_r(8.0)
    ac_right(1.0, 8.0)
    acmd_end()

anm_r202_support_03:
    ac_right(5.0, 8.0)
    acmd_end()

anm_r202_support_04:
    ac_right(4.0, 8.0)
    ac_dir_d(8.0)
    ac_hero_match_z(8.0)
    ac_dir_r(8.0)
    ac_right(1.0, 8.0)
    acmd_end()

anm_r202_support_05:
    ac_right(4.0, 8.0)
    ac_dir_d(8.0)
    ac_hero_match_z(8.0)
    ac_dir_r(8.0)
    ac_right(1.0, 8.0)
    acmd_end()

anm_r202_support_51:
    ac_right(1.0, 8.0)
    ac_dir_l(8.0)
    ac_left(4.0, 8.0)
    ac_dir_d("ROT_TIME")
    ac_world_z(827.0, 8.0)
    ac_dir_l(8.0)
    ac_world_x(174.0, 8.0)
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_52:
    ac_right(1.0, 8.0)
    ac_dir_l(8.0)
    ac_left(4.0, 8.0)
    ac_dir_d(8.0)
    ac_world_z(827.0, 8.0)
    ac_dir_l(8.0)
    ac_world_x(174.0, 8.0)
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_53:
    ac_right(1.0, 8.0)
    ac_dir_l(8.0)
    ac_world_x(174.0, 8.0)
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_54:
    ac_right(1.0, 8.0)
    ac_dir_l(8.0)
    ac_left(4.0, 8.0)
    ac_dir_u(8.0)
    ac_world_z(827.0, 8.0)
    ac_dir_l(8.0)
    ac_world_x(174.0, 8.0)
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_55:
    ac_right(1.0, 8.0)
    ac_dir_l(8.0)
    ac_left(4.0, 8.0)
    ac_dir_u(8.0)
    ac_world_z(827.0, 8.0)
    ac_dir_l(8.0)
    ac_world_x(174.0, 8.0)
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_500:
    ac_dir_r(8.0)
    acmd_end()

anm_r202_support_58:
    ac_dir_l(8.0)
    ac_left(2.0, 8.0)
    acmd_end()

anm_r202_support_60:
    ac_dir_r(8.0)
    acmd_end()

anm_03_r202_support_01:
    ac_dir_l(8.0)
    ac_left(10.0, 8.0)
    acmd_end()

anm_01_r202_player_00:
    ac_wait(8.0)
    ac_dir_l(8.0)
    acmd_end()

anm_r202_player_01:
    ac_right(1.0, 8.0)
    acmd_end()

anm_r202_player_58:
    ac_wait(8.0)
    ac_left(2.0, 8.0)
    acmd_end()