Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_decibat_sparing

(view raw script w/o annotations or w/e)
1
function scr_decibat_sparing
scr_decibat_sparing

function scr_decibat_sparing() //gml_Script_scr_decibat_sparing { global.action_1_selected_count = 0 global.action_3_selected_count = 0 global.enemy_sparing = true global.turns_passed += 1 global.last_action_selected = "Nothing" global.hurt_self = global.hit_self global.hit_self = false global.enemy_hurt = global.enemy_hit global.enemy_hit = false global.item_used = global.item_use global.item_use = "Nothing" global.item_gifted = global.item_gift global.item_gift = "Nothing" global.determine_attack_priority = 1 script_execute(gml_Script_scr_determine_enemy_attack_yellow) with (obj_heart_battle_menu) event_user(0) instance_destroy() }
() //gml_Script_scr_decibat_sparing
2
{
3
    global.action_1_selected_count = 0
4
    global.action_3_selected_count = 0
5
    global.enemy_sparing = true
6
    global.turns_passed += 1
7
    global.last_action_selected = "Nothing"
8
    global.hurt_self = global.hit_self
9
    global.hit_self = false
10
    global.enemy_hurt = global.enemy_hit
11
    global.enemy_hit = false
12
    global.item_used = global.item_use
13
    global.item_use = "Nothing"
14
    global.item_gifted = global.item_gift
15
    global.item_gift = "Nothing"
16
    global.determine_attack_priority = 1
17
    script_execute(gml_Script_scr_determine_enemy_attack_yellow)
18
    with (obj_heart_battle_menu)
19
        event_user(0)
20
    instance_destroy()
21
}