script: union/ev_connect_union_receive_obj_03

code

ev_connect_union_receive_obj_03:
    talkmsg("msg_union_connect_03_01")
    yes_no_win(work: 246)
    ifval_jump(work: 246, "EQ", 1.0, "no_connect_union_receive_obj_03")
    poke_level_chk(work: 246, 30.0)
    ifval_jump(work: 246, "LT", 2.0, "no_connect_union_reject_battle")
    union_script_result_set("UNION_YESNO_RESULT", 0.0)
    talk_close()
    union_parent_start_command_set(work: 246)
    ifval_jump(work: 246, "EQ", "UNION_CHILD_SELECT_CANCEL", "ev_connect_union_connect_killed")
    talkmsg("msg_union_connect_03_02")
    time_wait("UNION_EVNET_PRE_WAIT", work: 246)
    comm_synchronize("UNION_CHILD_SELECT_BATTLE")
    talk_close()
    union_beacon_change("UNION_PARENT_MODE_BATTLENOW")
    black_out("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
    wipe_fade_end_check()
    union_pokelist_set_proc()
    set_map_proc()
    black_in("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
    wipe_fade_end_check()
    talkmsg("msg_connect_union_11")
    comm_synchronize("UNION_SYNCHRO_POKELIST")
    talk_close()
    union_battle_start_check(work: 246)
    ifval_jump(work: 246, "EQ", "UNION_BATTLE_MY_CANCEL", "ev_connect_union_battle_cancel")
    ifval_jump(work: 246, "EQ", "UNION_BATTLE_PARTNER_CANCEL", "ev_connect_union_battle_cancel")
    debug_sio_encount()
    union_beacon_change("UNION_PARENT_MODE_PARTY")
    call("ev_union_return_setup")
    jump("ev_connect_union_receive_menu")
    end()

1 callers

script_set script invocation
union ev_connect_union_receive_menu case_jump("UNION_CHILD_SELECT_BATTLE", "ev_connect_union_receive_obj_03")