Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_last_text_move_select_yellow

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

function scr_determine_last_text_move_select_yellow() //gml_Script_scr_determine_last_text_move_select_yellow { var battle_enemy_name = global.battle_enemy_name switch battle_enemy_name { case "flier solo": return 4; case "flier trio": return 8; case "penilla solo": case "flier penilla duo": return 5; default: return 1; } }
() //gml_Script_scr_determine_last_text_move_select_yellow
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    switch battle_enemy_name
5
    {
6
        case "flier solo":
7
            return 4;
8
        case "flier trio":
9
            return 8;
10
        case "penilla solo":
11
        case "flier penilla duo":
12
            return 5;
13
        default:
14
            return 1;
15
    }
16
17
}