1 |
global.player_gold += global.enemy_gold |
2 |
if (global.game_mode == "customs") |
3 |
message[0] = "* YOU WON!#* You earned 0 XP and " + string(global.enemy_gold) + " gold." |
4 |
else if (global.game_mode == "yellow") |
5 |
{ |
6 |
if (global.battle_enemy_name == "froggit intro") |
7 |
message[0] = "* (The mysterious goat lady# scared the Froggit away.)" |
8 |
else if (global.battle_enemy_name == "decibat") |
9 |
{ |
10 |
if (global.enemy_sparing == true) |
11 |
message[0] = "* Sweet silence..." |
12 |
else |
13 |
message[0] = "* Decibat flaps away to find# someplace quieter." |
14 |
} |
15 |
else |
16 |
message[0] = "* YOU WON!#* You earned 0 XP and " + string(global.enemy_gold) + " gold." |
17 |
} |
18 |
message_current = 0 |
19 |
message_end = 0 |
20 |
message_draw = "" |
21 |
increase = global.text_speed |
22 |
characters = 0 |
23 |
hold = 0 |
24 |
message_length = string_length(message[message_current]) |
25 |
moveable = true |
26 |
script_execute(gml_Script_scr_generate_text_counters) |