Undertale script viewer

← back to main script listing

gml_Object_obj_mainchara_KeyPress_54

related scripts: Collision_10Collision_11Collision_12Collision_13Collision_1367Collision_822Create_0Draw_0KeyPress_118KeyPress_120KeyPress_121KeyPress_122KeyPress_123KeyPress_33KeyPress_34KeyPress_35KeyPress_36KeyPress_45KeyPress_46KeyPress_48KeyPress_49KeyPress_50KeyPress_51KeyPress_52KeyPress_53KeyPress_54 KeyPress_71KeyPress_73KeyPress_77KeyPress_79KeyPress_80KeyPress_85Keyboard_76Keyboard_83Other_10Other_12Step_0Step_2

(view raw script w/o annotations or w/e)
1
if (global.debug == 1)
2
{
3
    if (keyboard_check(ord("F")))
4
        room_goto(room_fire2 Hotland - Water tank);
5
    if (keyboard_check(ord("T")))
6
        room_goto(room_tundra1 Snowdin - Ruin exit);
7
    if (keyboard_check(ord("W")))
8
        room_goto(room_water1 Waterfall - Entrance);
9
    if (keyboard_check(ord("E")))
10
        room_goto(room_castle_front New Home [SAVE]);
11
    if (keyboard_check(ord("R")))
12
        room_goto(room_ruins2 Ruins - Toriel stepping tile puzzle);
13
    if (keyboard_check(ord("Y")))
14
        room_goto(room_truelab_elevator True Lab - Elevator Entrance);
15
}