1 |
global.player_exp += global.enemy_exp |
2 |
global.player_gold += global.enemy_gold |
3 |
message[0] = "* YOU WON!#* You earned " + string(global.enemy_exp) + " XP and " + string(global.enemy_gold) + " gold." |
4 |
message[0] = message[0] + "#* Your LOVE increased." |
5 |
message_current = 0 |
6 |
message_end = 0 |
7 |
message_draw = "" |
8 |
increase = global.text_speed |
9 |
characters = 0 |
10 |
hold = 0 |
11 |
message_length = string_length(message[message_current]) |
12 |
can_check_display_text = false |
13 |
display_text = false |
14 |
alarm[0] = 1 |
15 |
moveable = true |
16 |
script_execute(gml_Script_scr_generate_text_counters) |