If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Talk:Undertale/Debug Mode

From The Cutting Room Floor
Jump to navigation Jump to search
This is the talk page for Undertale/Debug Mode.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Indent replies by prefixing with a colon :
  • Add new sections with the 'Add topic' button at the top right.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.
  • Be familiar with the talk help page.

Mettaton quiz fight

  • N: Changes the question to "What monster is this?"
  • Space: Triggers an actual visual change to the question

--Dobby233Liu (talk) 09:16, 22 January 2022 (UTC)

Muffet

  • D: Increases turn counter by 1
  • A: Decreases turn counter by 1

--Dobby233Liu (talk) 09:21, 22 January 2022 (UTC)

Mettaton EX

  • S: Increases turn counter by 1
  • A: Decreases turn counter by 1

--Dobby233Liu (talk) 09:21, 22 January 2022 (UTC)

Asgore intro cutscene

User Event 12 of obj_asgore_finalintro increases the conversation value by 1 if debug. May be worth to document. --Dobby233Liu (talk) 09:21, 22 January 2022 (UTC)

Apparently the event can actually run in v1.00, double check. --Dobby233Liu (talk) 08:57, 30 June 2023 (UTC)

Asriel

First version:

  • I: Increases turn counter by 1
  • U: Decreases turn counter by 1

Second version: When in a turn with bullets, Space spawns a bullet --Dobby233Liu (talk) 09:29, 22 January 2022 (UTC)

blt_loopbulletgrow (dog couple)

J: Makes the bullet draw inside the border or outside the border --Dobby233Liu (talk) 09:29, 22 January 2022 (UTC)

Catty and Bratty

  • Space: Increase expression value by 1.
  • B: Increases flag 437 by 1. The same in Burgerpants store.

--Dobby233Liu (talk) 09:34, 22 January 2022 (UTC)

Also in bpants, pressing L goes into Bratty and Catty shop, pressing K in Bratty and Catty shop goes to bpants shop --Dobby233Liu (talk) 13:47, 22 January 2022 (UTC)

F12 key

Also makes the game think it's in post-Pacifist.

--Dobby233Liu (talk) 09:40, 22 January 2022 (UTC)

Added to page, explains a lot to be honest. --AbsoluteSpacehead (talk) 00:44, 24 April 2022 (UTC)

obj_greenspeargen

Pressing C decreases rating by 1

--Dobby233Liu (talk) 13:40, 22 January 2022 (UTC)

obj_spearblocker: S decreases lesson by 1, A increases lesson by 1 --Dobby233Liu (talk) 13:52, 22 January 2022 (UTC)

obj_quicheguilt

Unused object, shows two variables --Dobby233Liu (talk) 13:42, 22 January 2022 (UTC)

obj_undyneencounter3

K sets HP to 999 --Dobby233Liu (talk) 13:51, 22 January 2022 (UTC)

All references to global.debug in my copy just in case

123 results in 114 code entries for "global.debug".

Results in gml_Script_SCR_GAMESTART:
Line 25: global.debug = false

Results in gml_Object_obj_mkid_goner_Create_0:
Line 34: if (global.debug == true)

Results in gml_Object_obj_gaster_follower_a_Create_0:
Line 39: if (global.debug == true)

Results in gml_Object_obj_gaster_follower_b_Create_0:
Line 39: if (global.debug == true)

Results in gml_Object_obj_gaster_follower_c_Create_0:
Line 39: if (global.debug == true)

Results in gml_Object_obj_otherphonecall_Create_0:
Line 11: if (global.debug == true)

Results in gml_Object_obj_undertaletitle_Keyboard_39:
Line 1: if (global.debug == 999)

Results in gml_Object_obj_undertaletitle_Keyboard_37:
Line 1: if (global.debug == 999)

Results in gml_Object_obj_battlecontroller_Step_0:
Line 409: if (global.debug == true && keyboard_check_pressed(vk_space) == 1)

Results in gml_Object_obj_battlecontroller_Keyboard_57:
Line 1: if (global.debug == true)

Results in gml_Object_obj_battlecontroller_Keyboard_56:
Line 1: if (global.debug == true)

Results in gml_Object_obj_battlecontroller_KeyPress_117:
Line 1: if (global.debug == true)

Results in gml_Object_obj_battlecontroller_KeyPress_80:
Line 1: if (keyboard_check(ord("O")) && global.debug == true)

Results in gml_Object_obj_battlecontroller_KeyPress_50:
Line 1: if (global.debug == true)

Results in gml_Object_obj_battlecontroller_KeyPress_49:
Line 1: if (global.debug == true)

Results in gml_Object_obj_battlecontroller_KeyPress_46:
Line 1: if (global.debug == true)

Results in gml_Object_obj_lesserdoge_KeyPress_74:
Line 1: if (global.debug == true)

Results in gml_Object_obj_papyrusboss_KeyPress_80:
Line 1: if (global.debug == true)

Results in gml_Object_obj_papyrusboss_KeyPress_79:
Line 1: if (global.debug == true)

Results in gml_Object_obj_papyrusboss_KeyPress_32:
Line 1: if (global.debug == true)

Results in gml_Object_obj_greatdogbody_Step_0:
Line 32: if (global.debug == true)

Results in gml_Object_obj_shyren_KeyPress_51:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undynesiner2_Draw_0:
Line 10: if (global.debug == true)

Results in gml_Object_obj_spearblocker_KeyPress_83:
Line 1: if (global.debug == true)

Results in gml_Object_obj_spearblocker_KeyPress_65:
Line 1: if (global.debug == true)

Results in gml_Object_obj_greenspeargen_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undyneboss_Step_0:
Line 688: if (global.debug == true && keyboard_check_pressed(ord("U")))

Results in gml_Object_obj_undyneboss_KeyPress_65:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undyneboss_KeyPress_55:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undyne_ex_KeyPress_65:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undyne_ex_KeyPress_55:
Line 1: if (global.debug == true)

Results in gml_Object_obj_generalsiner_Draw_0:
Line 5: if (global.debug == true)

Results in gml_Object_obj_maddummy_Draw_0:
Line 2: if (global.debug == true)

Results in gml_Object_obj_maddummy_KeyPress_65:
Line 1: if (global.debug == true)

Results in gml_Object_obj_questionasker_KeyPress_78:
Line 1: if (global.debug == true)

Results in gml_Object_obj_questionasker_KeyPress_32:
Line 1: if (global.debug == true)

Results in gml_Object_obj_spiderb_Step_0:
Line 391: if (global.debug == true)

Results in gml_Object_obj_mettatonex_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_asgoreb_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_asgore_finalintro_Other_22:
Line 1: if (global.debug == true)

Results in gml_Object_obj_sansb_Step_0:
Line 643: if (global.debug == true && keyboard_check_pressed(ord("Q")))
Line 651: if (global.debug == true && keyboard_check_pressed(ord("E")))

Results in gml_Object_obj_asrielb_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_afinal_body_Draw_0:
Line 188: if (global.debug == true)

Results in gml_Object_obj_asriel_body_Draw_0:
Line 133: if (global.debug == true)
Line 416: if (global.debug == true)

Results in gml_Object_obj_ultimagen_Keyboard_32:
Line 1: if (global.debug == true)

Results in gml_Object_blt_loopbulletgrow_KeyPress_74:
Line 1: if (global.debug == true)

Results in gml_Object_obj_solidparent_KeyPress_86:
Line 1: if (global.debug == true)

Results in gml_Object_obj_darksans1_KeyPress_74:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undyneencounter3_KeyPress_75:
Line 1: if (global.debug == true)

Results in gml_Object_obj_quicheguilt_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_monsterkidtrigger6_Draw_0:
Line 1: if (global.debug == true)

Results in gml_Object_obj_undynetrigger_boss_KeyPress_32:
Line 1: if (global.debug == true)

Results in gml_Object_obj_puddle_Draw_0:
Line 77:     if (global.debug == true)

Results in gml_Object_obj_shopkeeper_catty_Draw_0:
Line 182: if (global.debug == true)

Results in gml_Object_obj_shopkeeper_bratty_Draw_0:
Line 160: if (global.debug == true)
Line 169: if (global.debug == true)

Results in gml_Object_obj_shop2_Draw_0:
Line 475: if (global.debug == true)

Results in gml_Object_obj_shop3_Draw_0:
Line 1885: if (global.debug == true)

Results in gml_Object_obj_shop4_Draw_0:
Line 633: if (global.debug == true)

Results in gml_Object_obj_shop5_Draw_0:
Line 756: if (global.debug == true)

Results in gml_Object_obj_time_Step_1:
Line 325: if (global.debug == true)
Line 330: if (global.debug == true)
Line 344:     if (global.debug == true)

Results in gml_Object_obj_time_Draw_64:
Line 1: if (global.debug == true)

Results in gml_Object_obj_time_KeyPress_114:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_Step_0:
Line 45:         if (global.debug == true)
Line 65:         if (global.debug == true)
Line 93:             if (global.debug == true)
Line 119:             if (global.debug == true)

Results in gml_Object_obj_mainchara_Keyboard_83:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_Keyboard_76:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_123:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_122:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_121:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_120:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_118:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_85:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_80:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_79:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_77:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_73:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_71:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_54:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_52:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_51:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_50:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_49:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_48:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_46:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_45:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_36:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_35:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_34:
Line 1: if (global.debug == true)

Results in gml_Object_obj_mainchara_KeyPress_33:
Line 1: if (global.debug == true && instance_exists(obj_encountererparent))

Results in gml_Object_obj_flowey_master_Keyboard_86:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_Keyboard_72:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_Draw_0:
Line 704: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_87:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_83:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_81:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_80:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_79:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_78:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_77:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_76:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_75:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_74:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_73:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_71:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_70:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_66:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_65:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_36:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_33:
Line 1: if (global.debug == true)

Results in gml_Object_obj_flowey_master_KeyPress_16:
Line 1: if (global.debug == true)

Results in gml_Object_obj_floweyx_flipeye_Draw_0:
Line 13: if (global.debug == true)

Results in gml_Object_obj_floweyx_mouth_Draw_0:
Line 99: if (global.debug == true)
Line 109: if (global.debug == true)

Results in gml_Object_obj_floweyx_lefteye_Draw_0:
Line 12: if (global.debug == true)

Results in gml_Object_obj_floweypipetest_2_Draw_0:
Line 22: if (global.debug == true)

Results in gml_Object_obj_floweypipetest_3_Draw_0:
Line 22: if (global.debug == true)

--Dobby233Liu (talk) 13:54, 22 January 2022 (UTC)

Asgore spear debug mode

Set debuggo or armtest to 1 in obj_asgorespear, to be documented --Dobby233Liu (talk) 01:49, 23 January 2022 (UTC)

savedata_debuginfo

Only in console, shown by obj_time along with its time variable --Dobby233Liu (talk) 01:50, 23 January 2022 (UTC)

Undyne near-death effect

Took a quick look in obj_undynesiner2's draw event (which is created when Undyne is near death)

This is where the stuff for space + arrow keys happens, they change values that are then given to scr_waver_height. I don't really know what said script does though so if anyone could help with this one that would be great...

Imgur

--AbsoluteSpacehead (talk) 00:39, 24 April 2022 (UTC)

Leftover debug feature

All the 5 key does is change what battlegroup you're sent to when pressing Home

and oddly enough, 5 is one of the only debug keys that isn't locked behind debug mode

although its only use is to modify a debug function so it does nothing useful outside of debug mode

— OceanBagel

--Dobby233Liu (talk) 04:13, 7 January 2023 (UTC)

obj_timersplits

Will spawn when splitter == 1 in gml_Object_obj_castroll_Create_0. --Dobby233Liu (talk) 07:20, 8 July 2023 (UTC)

Shows how long you've been in each part of the cast roll, probably was used to adjust pace in development --Dobby233Liu (talk) 13:18, 9 February 2024 (UTC)