changeset 70:281dcd7217df

Add all Air, Clannad and Kanon function names in scn2kdump, based on rldev’s names.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 01 Apr 2011 22:54:40 +0200
parents c3d4f9ee2cf1
children 1fd20d231376
files scn2k/scn2kdump.cc
diffstat 1 files changed, 240 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/scn2k/scn2kdump.cc
+++ b/scn2k/scn2kdump.cc
@@ -244,27 +244,53 @@ struct CmdDescrItem {
 };
 CmdDescrItem cmd_descr_orig[] = {
 	// scn2k_impl.cc; Scn2k::SysExec()
+	{0,0,0x01,0x05,0,    "shell"},
+	{0,0,0x01,0x05,1,    "launch"},
 	{0,0,0x00,0x01,0x0a, "local return"},
 	{0,0,0x00,0x01,0x0b, "global jump"},
 	{0,0,0x00,0x01,0x0c, "global call"},
 	{0,0,0x00,0x01,0x0d, "global return"},
 	{0,0,0x00,0x01,0x12, "global call"},
 	{0,0,0x00,0x01,0x13, "global return(?)"},
+	{0,0,0x01,0x04,0x00, "SetWindowCaption"},
 	{0,0,0x00,0x04,0x0d, "Menu_return"},
-	{0,0,0x01,0x04,0x00, "SetWindowCaption"},
+	{0,0,0x01,0x04,0x74, "SetTimer"},
 	{0,0,0x01,0x04,0x82, "ClearMousePress"},
 	{0,0,0x01,0x04,0x83, "GetMouse(2)"},
 	{0,0,0x01,0x04,0x85, "GetMouse"},
+	{0,0,0x01,0x04,0x12c,"rtlButton"},
+	{0,0,0x01,0x04,0x14c,"LocalSkipMode"},
+	{0,0,0x01,0x04,0x15e,"CtrlKeySkip"},
+	{0,0,0x01,0x04,0x15f,"CtrlKeySkipOn"},
+	{0,0,0x01,0x04,0x160,"CtrlKeySkipOff"},
+	{0,0,0x01,0x04,0x161,"CtrlPressed"},
+	{0,0,0x01,0x04,0x162,"ShiftPressed"},
 	{0,0,0x01,0x04,0x4b0,"QuitGame"},
+	{0,0,0x01,0x04,0x4b1,"GoMenu"},
+	{0,0,0x01,0x04,0x4b3,"GoMenu_Badend"},
+	{0,0,0x01,0x04,0x4bb,"EnableSyscom"},
+	{0,0,0x01,0x04,0x4bc,"HideSyscom"},
+	{0,0,0x01,0x04,0x4cf,"??? (Air, Clannad, Kanon)"},
+	{0,0,0x01,0x04,0x515,"SetName"},
 	{0,0,0x01,0x04,0x58d,"PrevSaveNumber"},
 	{0,0,0x01,0x04,0x585,"SavedDate"},
+	{0,0,0x01,0x04,0x5de,"cgGetViewedPcnt"},
+	{0,0,0x01,0x04,0x7d1,"??? (Air, Clannad, Kanon)"},
+	{0,0,0x01,0x04,0x803,"SetSkipAnimations"},
+	{0,0,0x01,0x04,0x8e3,"SetScreenMode"},
+	{0,0,0x01,0x04,0x947,"ScreenMode"},
+	{0,0,0x01,0x04,0xbb9,"menu_load"},
 	{0,0,0x01,0x04,0xc23,"Save"},
 	{0,0,0x01,0x04,0xc25,"Load"},
-	{0,0,0x01,0x04,0x4b1,"GoMenu"},
-	{0,0,0x01,0x04,0x4b3,"GoMenu_Badend"},
+	{0,0,0x01,0x04,0xdaf,"? CloseAll"},
 	{0,0,0x01,0x04,0xcc, "ShowMouseCursor"},
 	{0,0,0x01,0x04,0xcd, "HideMouseCursor"},
 	{0,0,0x01,0x04,0xcf, "SetCursorType"},
+
+	// debug commands
+	{0,0,0x01,0xff,0x32, "??? (Clannad)"},
+	{0,0,0x01,0xff,0x65, "__SaveBufferIdx"},
+
 	// scn2k_cmd.cc; CmdD::GetCmd()
 	{0,0,0x00,0x01,0,    "local jump"},
 	{0,0,0x00,0x01,1,    "local jump-if"},
@@ -275,6 +301,7 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x00,0x01,8,    "local switch(simple form)"},
 	{0,0,0x01,0x0b,0,    "set multiple variables"},
 	{0,0,0x01,0x0b,1,    "set variables in a range"},
+	{0,0,0x01,0x0b,2,    "cpyrng"},
 	{0,0,0x01,0x0b,4,    "clear variables in a range"},
 	{0,0,0x01,0x0b,0x64, "get summation of variables in a range"},
 	// scn2k_cmd.cc; Flags::Exec()
@@ -287,28 +314,78 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x01,0x0a,6,    "SubStrR"},
 	{0,0,0x01,0x0a,7,    "StrLenWideChar"},
 	{0,0,0x01,0x0a,8,    "TrimStr"},
+	{0,0,0x01,0x0a,0x0b, "zentohan"},
 	{0,0,0x01,0x0a,0x0f, "IntToStr"},
 	{0,0,0x01,0x0a,0x11, "IntToStr_Fill"},
+	{0,0,0x01,0x0a,0x1e, "strpos"},
 	{0,0,0x01,0x0a,0x64, "ShowStr"},
 	// scn2k_text.cc; TextImpl::Exec()
 	{0,0,0x01,0x21,0x49, "SetFaceGraphic"},
 	{0,0,0x01,0x21,0x4b, "SetFaceGraphic"},
 	{0,0,0x01,0x21,0x4c, "SetFaceGraphic"},
-	{0,0,0x00,0x03,0x97, "CloseTextWindow"},
+	{0,0,0x00,0x03,0x03, "TextReturn"},
 	{0,0,0x00,0x03,0x11, "WaitText"},
-	{0,0,0x00,0x03,0x03, "TextReturn"},
+	{0,0,0x00,0x03,0x65, "FontSize"},
+	{0,0,0x00,0x03,0x66, "SetTextWindowType"},
+	{0,0,0x00,0x03,0x67, "OpenTextWindow"},
+	{0,0,0x00,0x03,0x68, "ShowText"},
+	{0,0,0x00,0x03,0x78, "TextRuby"},
+	{0,0,0x00,0x03,0x97, "CloseTextWindow"},
+	{0,0,0x00,0x03,0x98, "ClearTextWindow"},
+	{0,0,0x00,0x03,0xa1, "msgHideAll"},
+	{0,0,0x00,0x03,0xa2, "msgClearAll"},
 	{0,0,0x00,0x03,0xc9, "TextReturn"},
+	{0,0,0x00,0x03,0xcd, "spause"},
 	{0,0,0x00,0x03,0x3e8,"SetFaceGraphic"},
 	{0,0,0x00,0x03,0x3e9,"SetFaceGraphic"},
-	{0,0,0x00,0x03,0x78, "TextRuby"},
-	{0,0,0x00,0x03,0x66, "SetTextWindowType"},
-	{0,0,0x00,0x03,0x67, "OpenTextWindow"},
-	{0,0,0x00,0x03,0x98, "ClearTextWindow"},
-	{0,0,0x00,0x03,0x68, "ShowText"},
 	{0,0,0x00,0x02,0x01, "Select"},
 	{0,0,0x00,0x02,0x03, "Select"},
+
+	{0,0,0x00,0x04,0x12d,"rtlCancel"},
+	{0,0,0x00,0x04,0x3e8,"CloseTextWindow (ShowBackground)"},
 	{0,0,0x00,0x04,0x44c,"TextSkipStart"},
-	{0,0,0x00,0x04,0x3e8,"CloseTextWindow"},
+	{0,0,0x00,0x04,0x44d,"ClearSkipMode"},
+	{0,0,0x00,0x04,0x44e,"SkipMode"},
+	{0,0,0x00,0x04,0x4b0,"end"},
+	{0,0,0x00,0x04,0x4b1,"MenuReturn"},
+	{0,0,0x00,0x04,0x4b2,"MenuReturn2"},
+	{0,0,0x00,0x04,0x4b3,"ReturnMenu"},
+
+	{0,0,0x01,0x04,0x12d,"??? (Clannad)"},
+	{0,0,0x01,0x04,0x12e,"??? (Clannad)"},
+	{0,0,0x01,0x04,0x16e,"??? cursor? (Clannad)"},
+	{0,0,0x01,0x04,0x3ea,"abs"},
+	{0,0,0x01,0x04,0x4b4,"ReturnPrevSelect"},
+	{0,0,0x01,0x04,0x4be,"SyscomEnabled"},
+	{0,0,0x01,0x04,0x4bf,"InvokeSyscom"},
+	{0,0,0x01,0x04,0x7d0,"CursorMono"},
+	{0,0,0x01,0x04,0x7d2,"LowPriority"},
+	{0,0,0x01,0x04,0x7d3,"ConfirmSaveLoad"},
+	{0,0,0x01,0x04,0x7d4,"ReduceDistortion"},
+	{0,0,0x01,0x04,0x7d9,"SoundQuality"},
+	{0,0,0x01,0x04,0x802,"SetCursorMono"},
+	{0,0,0x01,0x04,0x804,"SetLowPriority"},
+	{0,0,0x01,0x04,0x805,"SetConfirmSaveLoad"},
+	{0,0,0x01,0x04,0x806,"SetReduceDistortion"},
+	{0,0,0x01,0x04,0x80b,"SetSoundQuality"},
+	{0,0,0x01,0x04,0x8b6,"(Set)BgmVolMod"},
+	{0,0,0x01,0x04,0x8b8,"(Set)PcmVolMod"},
+	{0,0,0x01,0x04,0x8b9,"(Set)SeVolMod"},
+	{0,0,0x01,0x04,0x8c0,"(Set)BgmEnabled"},
+	{0,0,0x01,0x04,0x8c2,"(Set)PcmEnabled"},
+	{0,0,0x01,0x04,0x8c3,"(Set)SeEnabled"},
+	{0,0,0x01,0x04,0x8de,"(Set)ShowObject1"},
+	{0,0,0x01,0x04,0x91a,"BgmVolMod"},
+	{0,0,0x01,0x04,0x91c,"PcmVolMod"},
+	{0,0,0x01,0x04,0x91d,"SeVolMod"},
+	{0,0,0x01,0x04,0x924,"BgmEnabled"},
+	{0,0,0x01,0x04,0x926,"PcmEnabled"},
+	{0,0,0x01,0x04,0x927,"SeEnabled"},
+	{0,0,0x01,0x04,0x942,"ShowObject1"},
+	{0,0,0x01,0x04,0xdac,"Savepoint"},
+	{0,0,0x01,0x04,0xdad,"EnableAutoSavepoints"},
+	{0,0,0x01,0x04,0xdae,"DisableAutoSavepoints"},
+
 	{0,0,0x01,0x04,0x64, "WaitTime"},
 	{0,0,0x01,0x04,0x6f, "WaitTime"},
 	{0,0,0x01,0x04,0x79, "WaitTime"},
@@ -321,6 +398,9 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x01,0x04,0x7c, "GetTimer(2)"},
 	{0,0,0x01,0x04,0x6e, "ClearTimer"},
 	{0,0,0x01,0x04,0x78, "ClearTimer(2)"},
+	{0,0,0x01,0x04,0x258,"InitFrames"},
+	{0,0,0x01,0x04,0x259,"InitFramesLoop"},
+	{0,0,0x01,0x04,0x262,"ReadFrames"},
 	{0,0,0x01,0x04,0x26c,"ClearTimer(multi)"},
 	{0,0,0x01,0x04,0x270,"ClearTimer(multi)"},
 	{0,0,0x01,0x04,0x276,"GetTimer(multi)"},
@@ -358,72 +438,208 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x01,0x04,0x51f,"Set Name Text"},
 	{0,0,0x01,0x04,0x51e,"Get Name Text"},
 	{0,0,0x01,0x04,0x514,"Get Name Text"},
+	{0,0,0x01,0x04,0x6a4,"CreateInput"},
+	{0,0,0x01,0x04,0x6a5,"CloseInput"},
+	{0,0,0x01,0x04,0x6a6,"CloseAllInput"},
+	{0,0,0x01,0x04,0x6a7,"FocusInput"},
+	{0,0,0x01,0x04,0x6ae,"SetInput"},
+	{0,0,0x01,0x04,0x6af,"GetInput"},
 	// scn2k_grp.cc; GrpImpl::Exec()
 	// music commands
 	{0,0,0x01,0x14,0,    "PlayBGM"},
 	{0,0,0x01,0x14,2,    "PlayBGM"},
 	{0,0,0x01,0x14,0x05, "StopBGM"},
-	{0,0,0x01,0x14,0x69, "FadeBGM"},
-	{0,0,0x01,0x15,0,    "PlaySE"},
-	{0,0,0x01,0x15,2,    "PlaySE"},
+	{0,0,0x01,0x14,0x0c, "bgmSetVolume"},
+	{0,0,0x01,0x14,0x0d, "bgmUnMute"},
+	{0,0,0x01,0x14,0x0e, "bgmMute"},
+	{0,0,0x01,0x14,0x69, "bgmFadeOut"},
+	{0,0,0x01,0x14,0x6a, "bgmFadeOutEx"},
+	{0,0,0x01,0x14,0x3ea,"??? bgm (Air)"},
+
+	{0,0,0x01,0x15,0,    "wavPlay"},
+	{0,0,0x01,0x15,1,    "wavPlayEx"},
+	{0,0,0x01,0x15,2,    "wavLoop"},
+	{0,0,0x01,0x15,3,    "wavWait"},
+	{0,0,0x01,0x15,4,    "wavPlaying"},
+	{0,0,0x01,0x15,5,    "wavStop"},
+	{0,0,0x01,0x15,7,    "wavPlaying2"},
+	{0,0,0x01,0x15,8,    "wavRewind"},
+	{0,0,0x01,0x15,9,    "wavStop3"},
+	{0,0,0x01,0x15,10,   "wavStop4"},
+	{0,0,0x01,0x15,11,   "wavVolume"},
+	{0,0,0x01,0x15,12,   "wavSetVolume"},
+	{0,0,0x01,0x15,13,   "wavUnMute"},
+	{0,0,0x01,0x15,14,   "wavMute"},
+	{0,0,0x01,0x15,20,   "wavStopAll"},
+	{0,0,0x01,0x15,105,  "wavFadeOut"},
+	{0,0,0x01,0x15,106,  "wavFadeOut2"},
+
+	{0,0,0x01,0x16,0,    "sePlay"},
+
 	{0,0,0x01,0x17,0,    "PlayKoe"},
 	{0,0,0x01,0x1a,1,    "PlayMovie"},
 	{0,0,0x01,0x1a,0x14, "PlayMovie"},
 	// graphic commands
+	{0,0,0x01,0x0c,0,    "ShakeLayersStop"},
+	{0,0,0x01,0x0c,0x44c,"__shlud ShakeLayers"},
+	{0,0,0x01,0x0c,0x44d,"__shlrl ShakeLayers"},
+	{0,0,0x01,0x0c,0xce4,"ShakeLayersSpecEx"},
+	{0,0,0x01,0xc,0x1005,"??? shake (Clannad)"},
+	{0,0,0x01,0xc,0x106a,"??? shake (Clannad)"},
+
+	{0,0,0x01,0x0d,0,    "ShakeStop"},
+	{0,0,0x01,0x0d,0x44e,"ShakeScreen2D"},
+	{0,0,0x01,0x0d,0x514,"ShakeSpec"},
+	{0,0,0x01,0x0d,0xc1e,"ShakeScreen2DEx"},
+
 	{0,0,0x01,0x1e,0,    "GraphicStackClear"},
+	{0,0,0x01,0x1e,0x01, "GraphicStackNop"},
+	{0,0,0x01,0x1e,0x02, "GraphicStackPop"},
+	{0,0,0x01,0x1e,0x03, "GraphicStackSize"},
+	{0,0,0x01,0x1e,0x04, "GraphicStackTrunc"},
+	{0,0,0x01,0x1e,0x14, "DrawAuto"},
+	{0,0,0x01,0x1e,0x15, "DrawSemiAuto"},
+	{0,0,0x01,0x1e,0x16, "DrawManual"},
+	{0,0,0x01,0x1e,0x1e, "ModeToScreenSize"},
+	{0,0,0x01,0x1e,0x1f, "GetDCPixel"},
+
 	{0,0,0x01,0x1f,0,    "GraphicStackClear"},
+
+	{0,0,0x01,0x21,0x10, "freeDC"},
+	{0,0,0x01,0x21,0x1f, "wipe"},
+	{0,0,0x01,0x21,0x20, "shake"},
 	{0,0,0x01,0x21,0x46, "LoadSurface"},
 	{0,0,0x01,0x21,0x49, "LoadBackSurface"},
+	{0,0,0x01,0x21,0x4a, "grpMaskOpen"},
 	{0,0,0x01,0x21,0x4b, "LoadForeSurface"},
 	{0,0,0x01,0x21,0x4c, "LoadSurface"},
+	{0,0,0x01,0x21,0x4d, "grpMulti"},
 	{0,0,0x01,0x21,0x64, "CopySurface"},
-	{0,0,0x01,0x21,0x4b1,"ClearSurface"},
-	{0,0,0x01,0x21,0x44c,"AlphaCopy"},
-	{0,0,0x01,0x21,0x640,"SaturateCopy"},
+	{0,0,0x01,0x21,0x65, "grpMaskCopy"},
+	{0,0,0x01,0x21,0xc9, "grpFill"},
+	{0,0,0x01,0x21,0x12c,"grpInvert"},
+	{0,0,0x01,0x21,0x12d,"grpMono"},
+	{0,0,0x01,0x21,0x12f,"grpLight"},
+	{0,0,0x01,0x21,0x192,"grpZoom"},
+	{0,0,0x01,0x21,0x193,"grpFade"},
+	{0,0,0x01,0x21,0x194,"grpFlash"},
+	{0,0,0x01,0x21,0x195,"DefaultWindowResetPos"},
+	{0,0,0x01,0x21,0x41a,"recLoad"},
+	{0,0,0x01,0x21,0x41b,"recMaskLoad"},
+	{0,0,0x01,0x21,0x41d,"recOpenBg"},
+	{0,0,0x01,0x21,0x420,"recOpen"},
+	{0,0,0x01,0x21,0x44c,"recCopy"},
+	{0,0,0x01,0x21,0x44d,"recMaskCopy"},
+	{0,0,0x01,0x21,0x4b1,"recFill"},
+	{0,0,0x01,0x21,0x514,"recInvert"},
+	{0,0,0x01,0x21,0x515,"recMono"},
+	{0,0,0x01,0x21,0x579,"recStretchBlt"},
+	{0,0,0x01,0x21,0x640,"recAdd"},
+	{0,0,0x01,0x21,0x6a4,"recSub"},
 	{0,0,0x01,0x21,0x196,"??? grp"},
+
 	{0,0,0x01,0x22,0xc30,"ScrollEffect (Princess Bride)"},
 	{0,0,0x01,0x22,0xc1c,"FallEffect (Princess Bride)"},
 	{0,0,0x01,0x22,0x835,"FallEffect (Princess Bride)"},
+
+	// Backgrounds
+	{0,0,0x01,0x28,0xa,  "bgrLoadHaikei"},
+	{0,0,0x01,0x28,0x64, "bgrMulti"},
+
+	{0,0,0x01,0x04,0x1cc,"EnableWindowAnm"},
+	{0,0,0x01,0x04,0x1cd,"DisableWindowAnm"},
+	{0,0,0x01,0x04,0x1ce,"GetOpenAnmMod"},
+	{0,0,0x01,0x04,0x1cf,"SetOpenAnmMod"},
+	{0,0,0x01,0x04,0x1d0,"GetOpenAnmTime"},
+	{0,0,0x01,0x04,0x1d1,"SetOpenAnmTime"},
+	{0,0,0x01,0x04,0x1d2,"GetCloseAnmMod"},
+	{0,0,0x01,0x04,0x1d3,"SetCloseAnmMod"},
+	{0,0,0x01,0x04,0x1d4,"GetCloseAnmTime"},
+	{0,0,0x01,0x04,0x1d5,"SetCloseAnmTime"},
+
 	// grphic object commands
 	{0,0,0x01,0x04,0xd2, "??? grp"},
 	{0,0,0x01,0x04,0xd3, "??? grp"},
 	{0,0,0x01,0x04,0xd7, "??? grp"},
 	{0,0,0x01,0x04,0xd8, "??? grp"},
 	{0,0,0x01,0x04,0x5e0,"GetShownGrpFlag"},
-	{0,0,0x01,0x3d,0x0a, "ClearGrpObj"},
-	{0,0,0x01,0x3d,0x0b, "ClearGrpObj"},
+
+	// Obj
+	{0,0,0x01,0x3d,0x02, "objCopy"},
+	{0,0,0x01,0x3d,0x04, "objWipeCopyOn"},
+	{0,0,0x01,0x3d,0x0a, "ClearGrpObj (objClear)"},
+	{0,0,0x01,0x3d,0x0b, "ClearGrpObj (objDelete)"},
+	{0,0,0x01,0x3d,0x6f, "??? (Kanon)"},
+
+	// ObjBg
 	{0,0,0x01,0x3e,0x0a, "ClearGrpObj"},
 	{0,0,0x01,0x3e,0x0a, "ClearGrpObj"},
-	{0,0,0x01,0x3c,0x01, "??? grp (CLANNAD)"},
-	{0,0,0x01,0x47,0x3e8,"SetGrpObj_Fname"},
+	{0,0,0x01,0x3c,0x00, "??? grp (Clannad)"},
+	{0,0,0x01,0x3c,0x01, "??? grp (Air, Clannad, Kanon)"},
+	{0,0,0x01,0x3c,0x02, "objCopyFgToBg"},
+	{0,0,0x01,0x3c,0x64, "??? grp (Clannad)"},
+	{0,0,0x01,0x3c,0x6e, "??? grp (Clannad)"},
+	{0,0,0x01,0x3c,0x6f, "??? grp (Air)"},
+	{0,0,0x01,0x3e,0x02, "objBgCopyToFg"},
+	{0,0,0x01,0x47,0x3e8,"SetGrpObj_Fname (objOfFile)"},
+	{0,0,0x01,0x47,0x3e9,"SetGrpObj_Fname (objOfFile2)"},
 	{0,0,0x01,0x47,0x3eb,"SetGrpObj_GANname"},
 	{0,0,0x01,0x47,0x4b0,"SetGrpObj_Text"},
-	{0,0,0x01,0x48,0x3e8,"SetGrpObj_ForeGrp?"},
+	{0,0,0x01,0x47,0x514,"objDriftOfFile"},
+	{0,0,0x01,0x48,0x3e8,"objBgOfFile"},
+	{0,0,0x01,0x48,0x3e9,"objBgOfFile2"},
+	{0,0,0x01,0x48,0x3eb,"objBgOfFileGan/Anm"},
+	{0,0,0x01,0x48,0x44c,"objBgOfArea"},
+	{0,0,0x01,0x48,0x44d,"objBgOfRect"},
+	{0,0,0x01,0x48,0x4b0,"objBgOfText"},
+	{0,0,0x01,0x48,0x514,"objBgDriftOfFile"},
+	{0,0,0x01,0x48,0x578,"objBgOfDigit"},
+
+	// Gan
 	{0,0,0x01,0x49,0,    "StopAnimation"},
 	{0,0,0x01,0x49,3,    "QueryExecAnimation"},
+	{0,0,0x01,0x49,4,    "??? (Clannad)"},
+	{0,0,0x01,0x49,0x68, "??? (Clannad)"},
+	{0,0,0x01,0x49,0x3ee,"ganPlayEx"},
+	{0,0,0x01,0x49,0x7d1,"objLoop"},
 	{0,0,0x01,0x49,0x7d3,"SetGrpObj_GAN?"},
 	{0,0,0x01,0x49,0xbb9,"StartAnimation"},
 	{0,0,0x01,0x49,0xbbb,"StartAnimation"},
 	{0,0,0x01,0x49,0xbbd,"StartAnimation"},
+	{0,0,0x01,0x49,0xc1f,"??? (Clannad)"},
+
+	// obj
 	{0,0,0x01,0x51,0x3e8,"SetGrpObj_xy"},
 	{0,0,0x01,0x51,0x3e9,"SetGrpObj_x"},
 	{0,0,0x01,0x51,0x3ea,"SetGrpObj_y"},
 	{0,0,0x01,0x51,0x3eb,"SetGrpObj_alpha"},
 	{0,0,0x01,0x51,0x3ec,"SetGrpObj_visible"},
 	{0,0,0x01,0x51,0x3ee,"SetGrpObj_xy?"},
+	{0,0,0x01,0x51,0x3f8,"objColour"},
 	{0,0,0x01,0x51,0x3fd,"SetGrpObj_centering?"},
 	{0,0,0x01,0x51,0x401,"SetGrpObj_textsize"},
+	{0,0,0x01,0x51,0x407,"SetGrpObj_objDriftOpts"},
 	{0,0,0x01,0x51,0x40a,"SetGrpObj_clipregion"},
 	{0,0,0x01,0x51,0x40f,"SetGrpObj_surfacenum"},
+	{0,0,0x01,0x51,0x410,"SetGrpObj_??? (Clannad)"},
 	{0,0,0x01,0x51,0x416,"SetGrpObj_expand"},
+	{0,0,0x01,0x51,0x418,"objHeight"},
 	{0,0,0x01,0x51,0x419,"SetGrpObj_rotate"},
+	{0,0,0x01,0x51,0x41a,"objRepOrigin"},
+	{0,0,0x01,0x51,0x41c,"objRepOriginY"},
+	{0,0,0x01,0x51,0x420,"objFadeOpts"},
+
+	// objBg
 	{0,0,0x01,0x52,0x3e8,"SetGrpObj_xy(2)"},
 	{0,0,0x01,0x52,0x3ea,"SetGrpObj_y(2)"},
 	{0,0,0x01,0x52,0x3eb,"SetGrpObj_alpha(2)"},
 	{0,0,0x01,0x52,0x3ec,"SetGrpObj_visible(2)"},
 	{0,0,0x01,0x52,0x3ee,"SetGrpObj_xy?(2)"},
+	{0,0,0x01,0x52,0x3f1,"objBgMono"},
+	{0,0,0x01,0x52,0x3f8,"objBgColour"},
 	{0,0,0x01,0x52,0x3fd,"SetGrpObj_centering?(2)"},
 	{0,0,0x01,0x52,0x401,"SetGrpObj_textsize(2)"},
+	{0,0,0x01,0x52,0x407,"objBgDriftOpts"},
 	{0,0,0x01,0x52,0x408,"SetGrpObj_order (not supported)"},
 	{0,0,0x01,0x52,0x40a,"SetGrpObj_clipregion(2)"},
 	{0,0,0x01,0x52,0x40f,"SetGrpObj_surfacenum(2)"},
@@ -431,6 +647,7 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x01,0x52,0x419,"SetGrpObj_rotate(2)"},
 	{0,0,0x01,0x54,0x3e8,"GetGrpObj_xy"},
 	{0,0,0x01,0x54,0x44c,"GetGrpObj_wh"},
+	{0,0,0x01,0x55,0x3e8,"S/GetGrpObj_??? (Kanon)"},
 
 	{0,0,0x02,0x3d,0x0a, "ClearGrpObj(2)"},
 	{0,0,0x02,0x3d,0x0b, "ClearGrpObj(2)"},
@@ -471,6 +688,7 @@ CmdDescrItem cmd_descr_orig[] = {
 	{0,0,0x02,0x52,0x419,"SetGrpObj_rotate(2)(2)"},
 	{0,0,0x02,0x54,0x3e8,"GetGrpObj_xy(2)"},
 	{0,0,0x02,0x54,0x44c,"GetGrpObj_wh(2)"},
+
 	{0,0,0,0,0,0}
 };
 map<int, CmdDescrItem*> CmdD::cmd_descr;