code
ev_c01r0101_middlem:
talk_obj_start()
talk_keywait("dp_scenario1%32-msg_c01r0101_middlem_01")
sys_flag_badge_count(work: 234)
ifval_jump(work: 234, "EQ", 0.0, "ev_c01r0101_middlem_02")
poketch_check(2.0, work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c01r0101_check_badge_count_1")
poketch_check(11.0, work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c01r0101_check_badge_count_3")
item_chk(431.0, 1.0, work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_c01r0101_middlem_15")
jump("ev_c01r0101_middlem_14")
jump("ev_c01r0101_middlem_03")