Skip to content

Commit bbd9091

Browse files
authored
Update files
Handled French punctuation in battles.
1 parent 6ff45ac commit bbd9091

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

patches/gml_Object_obj_battle_dreamXI_Draw_0.pat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ var str="";
2828
// 77
2929
if (str != "")
3030
{
31+
if (global.script_array[global.language][0] == "FR")
32+
{
33+
str = string_insert("\u00A0", str, 2);
34+
}
3135
draw_set_halign(fa_center);
3236
draw_set_valign(fa_top);
3337
if (string_height_ext(str, string_height(global.text_font), 220) == string_height(global.text_font))

patches/gml_Object_obj_battle_lev_Draw_0.pat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ var str="";
1111
// 62
1212
if (str != "")
1313
{
14+
if (global.script_array[global.language][0] == "FR")
15+
{
16+
str = string_insert("\u00A0", str, 2);
17+
}
1418
draw_set_halign(fa_center);
1519
draw_set_valign(fa_top);
1620
if (string_height_ext(str, string_height(global.text_font), 220) == string_height(global.text_font))

patches/gml_Object_obj_dream_battle_Draw_0.pat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ var str="";
1111
// 80
1212
if (str != "")
1313
{
14+
if (global.script_array[global.language][0] == "FR")
15+
{
16+
str = string_insert("\u00A0", str, 2);
17+
}
1418
draw_set_halign(fa_center);
1519
draw_set_valign(fa_top);
1620
if (string_height_ext(str, string_height(global.text_font), 220) == string_height(global.text_font))

0 commit comments

Comments
 (0)