Undertale script viewer

← back to main script listing

gml_Object_obj_mainchara_KeyPress_54

related scripts: Collision_10 • Collision_11 • Collision_12 • Collision_13 • Collision_1367 • Collision_822 • Create_0 • Draw_0 • KeyPress_118 • KeyPress_120 • KeyPress_121 • KeyPress_122 • KeyPress_123 • KeyPress_33 • KeyPress_34 • KeyPress_35 • KeyPress_36 • KeyPress_45 • KeyPress_46 • KeyPress_48 • KeyPress_49 • KeyPress_50 • KeyPress_51 • KeyPress_52 • KeyPress_53 • KeyPress_54 • KeyPress_71 • KeyPress_73 • KeyPress_77 • KeyPress_79 • KeyPress_80 • KeyPress_85 • Keyboard_76 • Keyboard_83 • Other_10 • Other_12 • Step_0 • Step_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
}