334
edits
m |
(pointing out inconsistency in numbering some more, putting org numbers after text again for reference, adding note for 0F) |
||
Line 21: | Line 21: | ||
<code> | <code> | ||
00? Cmd_Magic_In_Mouse_Item | 00? Cmd_Magic_In_Mouse_Item 00 | ||
01 Cmd_Character_Says 3 args (unk, unk, stringID) - also see 34 | 01 Cmd_Character_Says 3 args (unk, unk, stringID) - also see 34 | ||
02? Cmd_Pause_Ticks | 02? Cmd_Pause_Ticks 02 | ||
03? Cmd_Draw_Scene_Anim_Shape | 03? Cmd_Draw_Scene_Anim_Shape 03 | ||
04? Cmd_Query_Game_Flag | 04? Cmd_Query_Game_Flag 04 | ||
05? Cmd_Set_Game_Flag | 05? Cmd_Set_Game_Flag 05 | ||
06? Cmd_Reset_Game_Flag | 06? Cmd_Reset_Game_Flag 06 | ||
07? Cmd_Run_NPC_Script | 07? Cmd_Run_NPC_Script 07 | ||
08? Cmd_Set_Special_Exit_List | 08? Cmd_Set_Special_Exit_List 08 | ||
09? Cmd_Block_In_Walkable_Region | 09? Cmd_Block_In_Walkable_Region 09 | ||
0A? Cmd_Block_Out_Walkable_Region | 0A? Cmd_Block_Out_Walkable_Region 0A | ||
0B Cmd_Walk_Player_To_Point 4 args (unk, x, x, y) - x may be be greater than 0xFF, y must not, so only 1 byte for that | 0B Cmd_Walk_Player_To_Point 4 args (unk, x, x, y) - x may be be greater than 0xFF, y must not, so only 1 byte for that | ||
0C? Cmd_Drop_Item_In_Scene | 0C? Cmd_Drop_Item_In_Scene 0C | ||
0D Cmd_Draw_Anim_Shape_Into_Scene 4 args (remove item from screen?) (removes note from desk) | 0D Cmd_Draw_Anim_Shape_Into_Scene 4 args (remove item from screen?) (removes note from desk) | ||
0E Cmd_Create_Mouse_Item 1 arg (itemID) - pick up item; ie mousecursor=item id | 0E Cmd_Create_Mouse_Item 1 arg (itemID) - pick up item; ie mousecursor=item id | ||
0F | 0F Cmd_Save_Page_To_Disk tries to write sth to disk, filename = string ID of last push | ||
10? Cmd_Load_Page_From_Disk | 10? Cmd_Load_Page_From_Disk 10 | ||
11? Cmd_Scene_Anim_On | 11? Cmd_Scene_Anim_On 11 | ||
12? Cmd_Scene_Anim_Off | 12? Cmd_Scene_Anim_Off 12 | ||
13? Cmd_Elapsed_Seconds | 13? Cmd_Elapsed_Seconds 13 | ||
14? Cmd_Mouse_Is_Pointer | 14? Cmd_Mouse_Is_Pointer 14 | ||
15? Cmd_Destroy_Mouse_Item | 15? Cmd_Destroy_Mouse_Item 15 | ||
16? Cmd_Run_Scene_Anim_Until_Done | 16? Cmd_Run_Scene_Anim_Until_Done 16 | ||
17? Cmd_Fade_Special_Palette | 17? Cmd_Fade_Special_Palette 17 | ||
18? Cmd_Play_AdLib_Sound | 18? Cmd_Play_AdLib_Sound 18 | ||
19? Cmd_Play_AdLib_Score | 19? Cmd_Play_AdLib_Score 19 | ||
1A? Cmd_Phase_In_Same_Scene | 1A? Cmd_Phase_In_Same_Scene 1A | ||
1B? Cmd_Set_Scene_Phasing_Flag | 1B? Cmd_Set_Scene_Phasing_Flag 1B | ||
1C? Cmd_Reset_Scene_Phasing_Flag | 1C? Cmd_Reset_Scene_Phasing_Flag 1C | ||
1D? Cmd_Query_Scene_Phasing_Flag | 1D? Cmd_Query_Scene_Phasing_Flag 1D | ||
1E? Cmd_Scene_To_Direction | 1E? Cmd_Scene_To_Direction 1E | ||
1F? Cmd_Set_Birthstone_Gem | 1F? Cmd_Set_Birthstone_Gem 1F | ||
20? Cmd_Place_Item_In_Generic_Map_Scene | 20? Cmd_Place_Item_In_Generic_Map_Scene 20 | ||
21? Cmd_Set_Brandon_Status_Bit | 21? Cmd_Set_Brandon_Status_Bit 21 | ||
22? Cmd_Pause_Seconds | 22? Cmd_Pause_Seconds 22 | ||
23? Cmd_Get_Characters_Location | 23? Cmd_Get_Characters_Location 23 | ||
24? Cmd_Run_NPC_Subscript | 24? Cmd_Run_NPC_Subscript 24 | ||
25? Cmd_Magic_Out_Mouse_Item | 25? Cmd_Magic_Out_Mouse_Item 25 // I think this is really "24", clears mouse cursor, plays magic sound | ||
26? Cmd_Internal_Anim_On | 26? Cmd_Internal_Anim_On 26 | ||
27? Cmd_Force_Brandon_To_Normal | 27? Cmd_Force_Brandon_To_Normal 27 | ||
28? Cmd_Poison_Death_Now | 28? Cmd_Poison_Death_Now 28 | ||
29? Cmd_Set_Scale_Mode | 29? Cmd_Set_Scale_Mode 29 | ||
28 looks more like "Cmd_Set_Scale_Mode", when executing it Brandon becomes tiny | |||
note: this looks more like 2A, check numbering | note: this looks more like 2A, check numbering | ||
29 4 ; play WSA file? (or just load it? coords?) | 29 4 ; play WSA file? (or just load it? coords?) | ||
2A? Cmd_Open_WSA_File // I think this should be '29', so there's another problem here | 2A? Cmd_Open_WSA_File 2A // I think this should be '29', so there's another problem here | ||
2B? Cmd_Close_WSA_File | 2B? Cmd_Close_WSA_File 2B | ||
2C? Cmd_Run_WSA_From_Beginning_To_End | 2C? Cmd_Run_WSA_From_Beginning_To_End 2C | ||
2D? Cmd_Display_WSA_Frame | 2D? Cmd_Display_WSA_Frame 2D | ||
2E? Cmd_Enter_New_Scene | 2E? Cmd_Enter_New_Scene 2E | ||
2F? Cmd_Set_Special_Enter_X_And_Y | 2F? Cmd_Set_Special_Enter_X_And_Y 2F | ||
30? Cmd_Run_WSA_Frames | 30? Cmd_Run_WSA_Frames 30 | ||
31? Cmd_Pop_Brandon_Into_Scene | 31? Cmd_Pop_Brandon_Into_Scene 31 | ||
32? Cmd_Restore_All_Object_Backgrounds | 32? Cmd_Restore_All_Object_Backgrounds 32 | ||
33? Cmd_Set_Custom_Palette_Range | 33? Cmd_Set_Custom_Palette_Range 33 | ||
34 Cmd_Custom_Print_Talk_String 4 args (color, unk, unk, stringid) - see also 01 | 34 Cmd_Custom_Print_Talk_String 4 args (color, unk, unk, stringid) - see also 01 | ||
35 Cmd_Restore_Custom_Print_Background 0 args ; restore text background? | 35 Cmd_Restore_Custom_Print_Background 0 args ; restore text background? | ||
36 Cmd_Hide_Mouse 0 args | 36 Cmd_Hide_Mouse 0 args | ||
37 Cmd_Show_Mouse 0 args | 37 Cmd_Show_Mouse 0 args | ||
38? Cmd_Get_Character_X | 38? Cmd_Get_Character_X 38 | ||
39? Cmd_Get_Character_Y | 39? Cmd_Get_Character_Y 39 | ||
3A? Cmd_Change_Characters_Facing | 3A? Cmd_Change_Characters_Facing 3A | ||
3B? Cmd_Copy_WSA_Region | 3B? Cmd_Copy_WSA_Region 3B | ||
3C Cmd_Text_Print // (y,x,stringID) debug message? - debug only? | 3C Cmd_Text_Print // (y,x,stringID) debug message? - debug only? | ||
3D? Cmd_Random | 3D? Cmd_Random 3D | ||
3E? Cmd_Load_Sound_File | 3E? Cmd_Load_Sound_File 3E | ||
3F? Cmd_Display_WSA_Frame_On_HidPage | 3F? Cmd_Display_WSA_Frame_On_HidPage 3F | ||
40? Cmd_Display_WSA_Sequential_Frames | 40? Cmd_Display_WSA_Sequential_Frames 40 | ||
41? Cmd_Draw_Character_Standing | 41? Cmd_Draw_Character_Standing 41 | ||
42? Cmd_Internal_Anim_Off | 42? Cmd_Internal_Anim_Off 42 | ||
43? Cmd_Change_Characters_X_And_Y | 43? Cmd_Change_Characters_X_And_Y 43 | ||
44? Cmd_Clear_Scene_Animator_Beacon | 44? Cmd_Clear_Scene_Animator_Beacon 44 | ||
45? Cmd_Query_Scene_Animator_Beacon | 45? Cmd_Query_Scene_Animator_Beacon 45 | ||
46? Cmd_Refresh_Scene_Animator | 46? Cmd_Refresh_Scene_Animator 46 | ||
47? Cmd_Place_Item_In_Off_Scene | 47? Cmd_Place_Item_In_Off_Scene 47 | ||
48 Cmd_Wipe_Down_Mouse_Item // destroys picked up item, sets mouse cursor to normal | 48 Cmd_Wipe_Down_Mouse_Item // destroys picked up item, sets mouse cursor to normal | ||
49? Cmd_Place_Character_In_Other_Scene | 49? Cmd_Place_Character_In_Other_Scene 49 | ||
4A? Cmd_Get_Key | 4A? Cmd_Get_Key 4A | ||
4B? Cmd_Specific_Item_In_Inventory | 4B? Cmd_Specific_Item_In_Inventory 4B | ||
4C? Cmd_Pop_Mobile_NPC_Into_Scene | 4C? Cmd_Pop_Mobile_NPC_Into_Scene 4C | ||
4D? Cmd_Mobile_Character_In_Scene | 4D? Cmd_Mobile_Character_In_Scene 4D | ||
4E? Cmd_Hide_Mobile_Character | 4E? Cmd_Hide_Mobile_Character 4E | ||
4F? Cmd_Unhide_Mobile_Character | 4F? Cmd_Unhide_Mobile_Character 4F | ||
50? Cmd_Set_Characters_Location | 50? Cmd_Set_Characters_Location 50 | ||
51? Cmd_Walk_Character_To_Point | 51? Cmd_Walk_Character_To_Point 51 | ||
52? Cmd_Special_Event_Display_Brynns_Note | 52? Cmd_Special_Event_Display_Brynns_Note 52 | ||
53? Cmd_Special_Event_Remove_Brynns_Note | 53? Cmd_Special_Event_Remove_Brynns_Note 53 | ||
54? Cmd_Set_Logic_Page | 54? Cmd_Set_Logic_Page 54 | ||
55? Cmd_Fat_Print | 55? Cmd_Fat_Print 55 | ||
Cmd_Preserve_All_Object_Backgrounds // 0x57 | Cmd_Preserve_All_Object_Backgrounds // 0x57 |
edits