| 1 | script_execute(scr_controls_text); | 
    
    
        | 2 | if (key_revert_pressed) | 
    
    
        | 3 | { | 
    
    
        | 4 |     characters = message_length; | 
    
    
        | 5 |     message_draw = string_copy(message[message_current], 0, characters); | 
    
    
        | 6 | } | 
    
    
        | 7 | if (characters < message_length) | 
    
    
        | 8 | { | 
    
    
        | 9 |     if (counter == 0) | 
    
    
        | 10 |     { | 
    
    
        | 11 |         script_execute(scr_text_increase); | 
    
    
        | 12 |         script_execute(scr_talking_ceroba); | 
    
    
        | 13 |     } | 
    
    
        | 14 |     else | 
    
    
        | 15 |     { | 
    
    
        | 16 |         can_talk = false; | 
    
    
        | 17 |     } | 
    
    
        | 18 | } | 
    
    
        | 19 | else | 
    
    
        | 20 | { | 
    
    
        | 21 |     can_talk = false; | 
    
    
        | 22 |     if (key_select_pressed) | 
    
    
        | 23 |     { | 
    
    
        | 24 |         if (message_current < message_end) | 
    
    
        | 25 |         { | 
    
    
        | 26 |             message_current += 1; | 
    
    
        | 27 |             message_length = string_length(message[message_current]); | 
    
    
        | 28 |             characters = 0; | 
    
    
        | 29 |             message_draw = ""; | 
    
    
        | 30 |         } | 
    
    
        | 31 |         else | 
    
    
        | 32 |         { | 
    
    
        | 33 |             var can_attack = true; | 
    
    
        | 34 |             switch (global.turns_passed) | 
    
    
        | 35 |             { | 
    
    
        | 36 |                 default: | 
    
    
        | 37 |                     can_attack = true; | 
    
    
        | 38 |                     break; | 
    
    
        | 39 |             } | 
    
    
        | 40 |             if (can_attack == true) | 
    
    
        | 41 |             { | 
    
    
        | 42 |                 with (obj_heart_battle_fighting_parent) | 
    
    
        | 43 |                     moveable = true; | 
    
    
        | 44 |             } | 
    
    
        | 45 |             else | 
    
    
        | 46 |             { | 
    
    
        | 47 |                 with (obj_dialogue_box_battle_transformation_any) | 
    
    
        | 48 |                     event_user(0); | 
    
    
        | 49 |             } | 
    
    
        | 50 |             with (obj_quote_bubble_battle) | 
    
    
        | 51 |                 instance_destroy(); | 
    
    
        | 52 |             instance_destroy(); | 
    
    
        | 53 |         } | 
    
    
        | 54 |     } | 
    
    
        | 55 | } | 
    
    
        | 56 | script_execute(scr_text_counter); |