script: c10r0111/ev_c10r0111_champ_pupl2w

code

ev_c10r0111_champ_pupl2w:
    obj_anime("HERO", "anm_c10r0111_player_00")
    obj_anime_wait()
    player_name(0.0)
    talk_keywait("dp_scenario3%20-msg_c10r0111_champion_11_1a")
    talk_close()
    flag_set(sys_flag: 43)
    bgm_now_map_play()
    trainer_btl_set("CHAMPION_02", 0.0)
    trainer_lose_check(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0111_common_battle_lose")
    if_flagon_call(flag: 246, "ev_c10r0111_champ_pupl2_to3")
    ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0111_common_battle_lose")
    talk_keywait("dp_scenario3%20-msg_c10r0111_champion_11_2")
    jump("ev_c10r0111_champ_wined")
    end()

1 callers

script_set script invocation
c10r0111 ev_c10r0111_champ if_flagon_jump(flag: 1335, "ev_c10r0111_champ_pupl2w")