script: t04r0301/ev_t04r0301_sunglasses_05

code

ev_t04r0301_sunglasses_05:
    pokemon_name_extra(0.0, work: 137, 0.0, 0.0)
    talk_keywait("dp_scenario2%68-msg_t04r0301_sunglasses_05_1")
    talk_keywait("dp_scenario2%68-msg_t04r0301_sunglasses_05_2")
    talk_keywait("dp_scenario2%68-msg_t04r0301_sunglasses_05_3")
    get_rnd(work: 246, 12.0)
    ifval_call(work: 246, "EQ", 0.0, "ev_t04r0301_item_01_set")
    ifval_call(work: 246, "EQ", 1.0, "ev_t04r0301_item_02_set")
    ifval_call(work: 246, "EQ", 2.0, "ev_t04r0301_item_03_set")
    ifval_call(work: 246, "EQ", 3.0, "ev_t04r0301_item_04_set")
    ifval_call(work: 246, "EQ", 4.0, "ev_t04r0301_item_05_set")
    ifval_call(work: 246, "EQ", 5.0, "ev_t04r0301_item_06_set")
    ifval_call(work: 246, "EQ", 6.0, "ev_t04r0301_item_07_set")
    ifval_call(work: 246, "EQ", 7.0, "ev_t04r0301_item_08_set")
    ifval_call(work: 246, "EQ", 8.0, "ev_t04r0301_item_09_set")
    ifval_call(work: 246, "EQ", 9.0, "ev_t04r0301_item_10_set")
    ifval_call(work: 246, "EQ", 10.0, "ev_t04r0301_item_11_set")
    ifval_call(work: 246, "EQ", 11.0, "ev_t04r0301_item_12_set")
    ldval(work: 239, 3.0)
    add_item_chk(work: 238, work: 239, work: 246)
    ifval_jump(work: 246, "NE", 0.0, "ev_t04r0301_sunglasses_06")
    flag_set(flag: 1132)
    ifval_jump(work: 246, "EQ", 0.0, "ev_t04r0301_sunglasses_07")
    end()

2 callers

script_set script invocation
t04r0301 ev_t04r0301_sunglasses_04 jump("ev_t04r0301_sunglasses_05")
t04r0301 ev_t04r0301_sunglasses_04 jump("ev_t04r0301_sunglasses_05")