Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_base_stats

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

function scr_base_stats() //gml_Script_scr_base_stats { global.player_hp_next[1] = 20 global.player_hp_next[2] = 24 global.player_hp_next[3] = 28 global.player_hp_next[4] = 32 global.player_hp_next[5] = 36 global.player_hp_next[6] = 40 global.player_hp_next[7] = 44 global.player_hp_next[8] = 48 global.player_hp_next[9] = 52 global.player_hp_next[10] = 56 global.player_hp_next[11] = 60 global.player_hp_next[12] = 64 global.player_hp_next[13] = 68 global.player_hp_next[14] = 72 global.player_hp_next[15] = 76 global.player_hp_next[16] = 80 global.player_hp_next[17] = 84 global.player_hp_next[18] = 88 global.player_hp_next[19] = 92 global.player_hp_next[20] = 100 global.player_hp_next[21] = 100 global.player_attack_next[1] = 10 global.player_attack_next[2] = 12 global.player_attack_next[3] = 14 global.player_attack_next[4] = 16 global.player_attack_next[5] = 18 global.player_attack_next[6] = 20 global.player_attack_next[7] = 22 global.player_attack_next[8] = 24 global.player_attack_next[9] = 26 global.player_attack_next[10] = 28 global.player_attack_next[11] = 30 global.player_attack_next[12] = 32 global.player_attack_next[13] = 34 global.player_attack_next[14] = 36 global.player_attack_next[15] = 38 global.player_attack_next[16] = 40 global.player_attack_next[17] = 42 global.player_attack_next[18] = 44 global.player_attack_next[19] = 46 global.player_attack_next[20] = 48 global.player_attack_next[21] = 48 global.player_defense_next[1] = 10 global.player_defense_next[2] = 10 global.player_defense_next[3] = 10 global.player_defense_next[4] = 10 global.player_defense_next[5] = 11 global.player_defense_next[6] = 11 global.player_defense_next[7] = 11 global.player_defense_next[8] = 11 global.player_defense_next[9] = 12 global.player_defense_next[10] = 12 global.player_defense_next[11] = 12 global.player_defense_next[12] = 12 global.player_defense_next[13] = 13 global.player_defense_next[14] = 13 global.player_defense_next[15] = 13 global.player_defense_next[16] = 13 global.player_defense_next[17] = 14 global.player_defense_next[18] = 14 global.player_defense_next[19] = 14 global.player_defense_next[20] = 14 global.player_defense_next[21] = 14 global.player_exp_next[1] = 10 global.player_exp_next[2] = 30 global.player_exp_next[3] = 70 global.player_exp_next[4] = 120 global.player_exp_next[5] = 200 global.player_exp_next[6] = 300 global.player_exp_next[7] = 500 global.player_exp_next[8] = 800 global.player_exp_next[9] = 1200 global.player_exp_next[10] = 1700 global.player_exp_next[11] = 2500 global.player_exp_next[12] = 3500 global.player_exp_next[13] = 5000 global.player_exp_next[14] = 7000 global.player_exp_next[15] = 10000 global.player_exp_next[16] = 15000 global.player_exp_next[17] = 25000 global.player_exp_next[18] = 50000 global.player_exp_next[19] = 99999 global.player_exp_next[20] = 999999 global.player_exp_next[21] = 999999 }
() //gml_Script_scr_base_stats
2
{
3
    global.player_hp_next[1] = 20
4
    global.player_hp_next[2] = 24
5
    global.player_hp_next[3] = 28
6
    global.player_hp_next[4] = 32
7
    global.player_hp_next[5] = 36
8
    global.player_hp_next[6] = 40
9
    global.player_hp_next[7] = 44
10
    global.player_hp_next[8] = 48
11
    global.player_hp_next[9] = 52
12
    global.player_hp_next[10] = 56
13
    global.player_hp_next[11] = 60
14
    global.player_hp_next[12] = 64
15
    global.player_hp_next[13] = 68
16
    global.player_hp_next[14] = 72
17
    global.player_hp_next[15] = 76
18
    global.player_hp_next[16] = 80
19
    global.player_hp_next[17] = 84
20
    global.player_hp_next[18] = 88
21
    global.player_hp_next[19] = 92
22
    global.player_hp_next[20] = 100
23
    global.player_hp_next[21] = 100
24
    global.player_attack_next[1] = 10
25
    global.player_attack_next[2] = 12
26
    global.player_attack_next[3] = 14
27
    global.player_attack_next[4] = 16
28
    global.player_attack_next[5] = 18
29
    global.player_attack_next[6] = 20
30
    global.player_attack_next[7] = 22
31
    global.player_attack_next[8] = 24
32
    global.player_attack_next[9] = 26
33
    global.player_attack_next[10] = 28
34
    global.player_attack_next[11] = 30
35
    global.player_attack_next[12] = 32
36
    global.player_attack_next[13] = 34
37
    global.player_attack_next[14] = 36
38
    global.player_attack_next[15] = 38
39
    global.player_attack_next[16] = 40
40
    global.player_attack_next[17] = 42
41
    global.player_attack_next[18] = 44
42
    global.player_attack_next[19] = 46
43
    global.player_attack_next[20] = 48
44
    global.player_attack_next[21] = 48
45
    global.player_defense_next[1] = 10
46
    global.player_defense_next[2] = 10
47
    global.player_defense_next[3] = 10
48
    global.player_defense_next[4] = 10
49
    global.player_defense_next[5] = 11
50
    global.player_defense_next[6] = 11
51
    global.player_defense_next[7] = 11
52
    global.player_defense_next[8] = 11
53
    global.player_defense_next[9] = 12
54
    global.player_defense_next[10] = 12
55
    global.player_defense_next[11] = 12
56
    global.player_defense_next[12] = 12
57
    global.player_defense_next[13] = 13
58
    global.player_defense_next[14] = 13
59
    global.player_defense_next[15] = 13
60
    global.player_defense_next[16] = 13
61
    global.player_defense_next[17] = 14
62
    global.player_defense_next[18] = 14
63
    global.player_defense_next[19] = 14
64
    global.player_defense_next[20] = 14
65
    global.player_defense_next[21] = 14
66
    global.player_exp_next[1] = 10
67
    global.player_exp_next[2] = 30
68
    global.player_exp_next[3] = 70
69
    global.player_exp_next[4] = 120
70
    global.player_exp_next[5] = 200
71
    global.player_exp_next[6] = 300
72
    global.player_exp_next[7] = 500
73
    global.player_exp_next[8] = 800
74
    global.player_exp_next[9] = 1200
75
    global.player_exp_next[10] = 1700
76
    global.player_exp_next[11] = 2500
77
    global.player_exp_next[12] = 3500
78
    global.player_exp_next[13] = 5000
79
    global.player_exp_next[14] = 7000
80
    global.player_exp_next[15] = 10000
81
    global.player_exp_next[16] = 15000
82
    global.player_exp_next[17] = 25000
83
    global.player_exp_next[18] = 50000
84
    global.player_exp_next[19] = 99999
85
    global.player_exp_next[20] = 999999
86
    global.player_exp_next[21] = 999999
87
}