script: c06r0101/bringm_check_money

code

bringm_check_money:
    talkmsg("dp_scenario2%123-msg_c06r0101_bringm_01_02")
    comp_gold(work: 246, 500.0)
    ifval_jump(work: 246, "EQ", 0.0, "bringm_no_money")
    se_play("S_REGI")
    sub_gold(500.0)
    talkmsg("dp_scenario2%123-msg_c06r0101_bringm_01_03")
    player_name(0.0)
    talkmsg("dp_scenario2%123-msg_c06r0101_bringm_01_04")
    talkmsg("dp_scenario2%123-msg_c06r0101_bringm_01_05")
    talk_close()
    money_close()
    if_flagoff_call(flag: 113, "ev_d14r0101_mount_tips")
    flag_set(flag: 1416)
    player_pos_get(work: 238, work: 239)
    ifval_jump(work: 238, "EQ", 4.0, "pos_c06r0101_anime_start_01")
    ifval_jump(work: 238, "EQ", 5.0, "pos_c06r0101_anime_start_02")
    end()

3 callers

script_set script invocation
c06r0101 bringm_yes ifval_jump(work: 246, "LT", 6.0, "bringm_check_money")
c06r0101 bringm_yes ifval_jump(work: 246, "EQ", 0.0, "bringm_check_money")
c06r0101 bringm_yes jump("bringm_check_money")