script: c03gym0101/pos_c03gym0101_leader_item_get

code

pos_c03gym0101_leader_item_get:
    ldval(work: 238, 403.0)
    ldval(work: 239, 5.0)
    add_item_chk(work: 238, work: 239, work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "pos_c03gym0101_leader_item_get_fail")
    chg_common_scr("ev_item_event_keywait")
    flag_set(flag: 80)
    item_name(0.0, work: 238, 1.0)
    item_waza_name(1.0, work: 238)
    talkmsg("dp_scenario1%84-msg_c03gym0101_leader_05_1")
    talkmsg("dp_scenario1%84-msg_c03gym0101_leader_05_3")
    cb_item_num_add(18.0, 3.0)
    cb_item_num_add(65.0, 3.0)
    cb_item_num_add(67.0, 1.0)
    me_play("M_FI014")
    speakers_name(0.0, "%DP_Trainers_Name_TR_LEADER1_01")
    talkmsg("dp_scenario1%84-msg_c03gym0101_leader_05_4")
    me_wait()
    talk_keywait("dp_scenario1%84-msg_c03gym0101_leader_05_2", 1.0)
    last_keywait()
    talk_close()
    call("ev_block_doc_end")
    talk_obj_end()
    event_end()
    end()

2 callers

script_set script invocation
c03gym0101 ev_c03gym0101_leader jump("pos_c03gym0101_leader_item_get")
c03gym0101 pos_c03gym0101_leader_badge_get if_flagoff_jump(flag: 80, "pos_c03gym0101_leader_item_get")