script set: d14r0101

code

ev_d14r0101_flag_change:
    arrive_flag_set(sys_flag: 389)
    end()

d14r0101_mount_flag_set:
    ldval(work: 79, 2.0)
    ldval(work: 249, 2900.0)
    ret()

ev_d14r0101_mount_tips:
    boukennooto_tips_open(7.0, work: 246)
    boukennooto_tips_wait()
    flag_set(flag: 113)
    ret()

ev_d14r0101_mount:
    talk_obj_start()
    sys_flag_badge_get(sys_flag: 124, work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "ev_d14r0101_mount_02")
    talkmsg("dp_scenario1%59-msg_d14r0101_mount_03")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_d14r0101_mount_02:
    if_flagon_jump(flag: 113, "ev_d14r0101_mount_03")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_01_1")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_01_2")
    ifval_call(work: 79, "NE", 2.0, "d14r0101_mount_itemget")
    call("d14r0101_mount_flag_set")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_1")
    me_play("M_FI014")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_1_2")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_2", 1.0)
    talk_close()
    if_flagoff_call(flag: 113, "ev_d14r0101_mount_tips")
    end()

ev_d14r0101_mount_03:
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_1")
    talkmsg("dp_scenario1%59-msg_d14r0101_mount_02_1_2")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_2", 1.0)
    talk_close()
    end()

pos_d14r0101:
    event_start()
    obj_anime("D14R0101_MOUND_01", "anm_d14r0101_mount_01")
    obj_anime("HERO", "anm_d14r0101_player_01")
    obj_anime_wait()
    none_use_number()
    event_camera_index(131.0)
    event_camera_end_wait()
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_01_1")
    ifval_call(work: 79, "NE", 2.0, "d14r0101_mount_itemget")
    call("d14r0101_mount_flag_set")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_1")
    me_play("M_FI014")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_1_2")
    talk_keywait("dp_scenario1%59-msg_d14r0101_mount_02_2", 1.0)
    talk_close()
    if_flagoff_call(flag: 113, "ev_d14r0101_mount_tips")
    none_use_number()
    event_camera_index(151.0)
    event_camera_end_wait()
    event_end()
    end()

d14r0101_mount_itemget:
    ldval(work: 238, 425.0)
    ldval(work: 239, 3.0)
    chg_common_scr("ev_item_event_keywait")
    poketch_add(19.0)
    ret()

anm_d14r0101_player_01:
    ac_dir_u(8.0)
    acmd_end()

anm_d14r0101_mount_01:
    ac_mark_gyoe(1.0)
    ac_world_z(20.90999984741211, 8.0)
    acmd_end()