script set: c08r0101

code

ev_c08r0101_flag_change:
    end()

ev_c08r0101_woman1_talk:
    obj_anime("C08R0101_WOMAN1", "anm_c08r0101_woman1_00")
    obj_anime_wait()
    jump("ev_c08r0101_woman1")
    end()

anm_c08r0101_woman1_00:
    ac_dir_r(8.0)
    acmd_end()

ev_c08r0101_woman1:
    talk_obj_start()
    front_pokemon(work: 234)
    chk_ribbon(work: 246, 0.0, 7.0)
    ifval_jump(work: 246, "EQ", 1.0, "ev_c08r0101_woman1_06")
    pokemon_name(0.0, work: 234)
    talk_keywait("dp_scenario3%1-msg_c08r0101_woman1_01")
    chk_prmexp(work: 246, work: 234)
    ifval_jump(work: 246, "LT", 510.0, "ev_c08r0101_woman1_05")
    talk_keywait("dp_scenario3%1-msg_c08r0101_woman1_02")
    set_ribbon(work: 234, 7.0)
    me_play("M_FI010")
    player_name(1.0)
    talk_keywait("dp_scenario3%1-msg_c08r0101_woman1_03")
    me_wait()
    pokemon_name(0.0, work: 234)
    talkmsg("dp_scenario3%1-msg_c08r0101_woman1_04")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c08r0101_woman1_05:
    talkmsg("dp_scenario3%1-msg_c08r0101_woman1_05")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c08r0101_woman1_06:
    pokemon_name(0.0, work: 234)
    talkmsg("dp_scenario3%1-msg_c08r0101_woman1_06")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c08r0101_seaman_talk:
    obj_anime("C08R0101_SEAMAN", "anm_c08r0101_seaman_00")
    obj_anime_wait()
    jump("ev_c08r0101_seaman")
    end()

anm_c08r0101_seaman_00:
    ac_dir_d(8.0)
    acmd_end()

ev_c08r0101_seaman:
    easy_obj_msg("dp_scenario3%1-msg_c08r0101_seaman_01")
    end()

ev_c08r0101_sunglasses_talk:
    obj_anime("C08R0101_SUNGLASSES", "anm_c08r0101_sunglasses_00")
    obj_anime_wait()
    jump("ev_c08r0101_sunglasses")
    end()

anm_c08r0101_sunglasses_00:
    ac_dir_d(8.0)
    acmd_end()

ev_c08r0101_sunglasses:
    talk_obj_start()
    talkmsg("dp_scenario3%1-msg_c08r0101_sunglasses_01")
    chg_common_scr("ev_shop_start_talk")
    ldval(work: 3, 0.0)
    jump("ev_c08r0101_shop_re")
    end()

ev_c08r0101_shop_re:
    ifval_call(work: 3, "EQ", 1.0, "ev_c08r0101_shop_sonohoka")
    add_custum_win_label("ss_fld_shop%SS_fld_shop_197", 0.0)
    add_custum_win_label("ss_fld_shop%SS_fld_shop_199", 2.0)
    open_custum_win(work: 238)
    switch(work: 238)
    case_jump(0.0, "ev_c08r0101_shop_buy")
    case_jump(2.0, "ev_c08r0101_shop_end")
    jump("ev_c08r0101_shop_end")
    end()

ev_c08r0101_shop_sonohoka:
    talkmsg("dp_scenario1%28-mes_shop_01_03")
    ret()

ev_c08r0101_shop_buy:
    ldval(work: 3, 1.0)
    talk_close_no_clear()
    event_camera_index(300.0)
    shop_open_seal()
    dpr_shop_open_wait()
    event_camera_index(301.0)
    event_camera_end_wait()
    jump("ev_c08r0101_shop_re")
    end()

ev_c08r0101_shop_end:
    talkmsg("ss_fld_shop%SS_fld_shop_202")
    talk_close()
    talk_obj_end()
    end()

ev_c08r0101_middleman1:
    talk_obj_start()
    talk_keywait("dp_scenario3%1-msg_c08r0101_middleman1_01")
    chk_week(work: 0)
    ifval_jump(work: 0, "EQ", 0.0, "ev_c08r0101_middleman1_02")
    ifval_jump(work: 0, "EQ", 1.0, "ev_c08r0101_middleman1_02")
    ifval_jump(work: 0, "EQ", 2.0, "ev_c08r0101_middleman1_02")
    ifval_jump(work: 0, "EQ", 3.0, "ev_c08r0101_middleman1_02")
    jump("ev_c08r0101_middleman1_03")
    end()

ev_c08r0101_middleman1_02:
    talkmsg("dp_scenario3%1-msg_c08r0101_middleman1_02")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()

ev_c08r0101_middleman1_03:
    talkmsg("dp_scenario3%1-msg_c08r0101_middleman1_03")
    last_keywait()
    talk_close()
    talk_obj_end()
    end()