Open main menu

Difference between revisions of "Kyra/Opcodes"

38 bytes removed ,  16:21, 16 June 2005
number of args added for 60, 6C, 6E, 73, 74, 85, 86
m (cmd 52,53,3A kinda verified, 3C corrected)
(number of args added for 60, 6C, 6E, 73, 74, 85, 86)
Line 131: Line 131:
   Cmd_Set_Death_Handler_Flag // 0x5F
   Cmd_Set_Death_Handler_Flag // 0x5F
    
    
   60 Cmd_Drink_Potion_Animation // 0x60
   60 Cmd_Drink_Potion_Animation 3 args
   61 Cmd_Make_Amulet_Appear // 0x61 // used in altar.emc?
   61 Cmd_Make_Amulet_Appear // 0x61 // used in altar.emc?
   Cmd_Draw_Item_Shape_Into_Scene // 0x62
   Cmd_Draw_Item_Shape_Into_Scene // 0x62
   Cmd_Set_Characters_Current_Frame // 0x63
   Cmd_Set_Characters_Current_Frame // 0x63
   64 Cmd_Wait_For_Confirmation_Mouse_Click // 0x64
   64 Cmd_Wait_For_Confirmation_Mouse_Click // 0x64
   Cmd_Page_Flip // 0x65
   Cmd_Page_Flip // 0x65
   Cmd_Set_Scene_File // 0x66
   Cmd_Set_Scene_File // 0x66
Line 143: Line 143:
   6A Cmd_Int_Print // prints last pushed value to top left corner? (debug only?)
   6A Cmd_Int_Print // prints last pushed value to top left corner? (debug only?)
   6B Cmd_Shake_Screen // 0x6B
   6B Cmd_Shake_Screen // 0x6B
   6C Cmd_Create_Amulet_Jewel // 0x6C (last param pushed before: 01=yellow, 02=red, 03=pink, 04=blue)
   6C Cmd_Create_Amulet_Jewel 1 arg - 01=yellow, 02=red, 03=pink, 04=blue
   Cmd_Set_Scene_Anim_Curr_XY // 0x6D
   Cmd_Set_Scene_Anim_Curr_XY // 0x6D
   6E Cmd_Poison_Brandon_And_Remaps // 0x6E
   6E Cmd_Poison_Brandon_And_Remaps 0 args
   6F Cmd_Fill_Flask_With_Water // 0x6F
   6F Cmd_Fill_Flask_With_Water // 0x6F
    
    
Line 151: Line 151:
   Cmd_Get_Birthstone_Gem // 0x71
   Cmd_Get_Birthstone_Gem // 0x71
   Cmd_Query_Brandon_Status_Bit // 0x72
   Cmd_Query_Brandon_Status_Bit // 0x72
   73 Cmd_Play_Flute_Animation // 0x73
   73 Cmd_Play_Flute_Animation 0 args
   74 Cmd_Play_Winter_Scroll_Sequence // 0x74
   74 Cmd_Play_Winter_Scroll_Sequence 1 arg
   Cmd_Get_Idol_Gem // 0x75
   Cmd_Get_Idol_Gem // 0x75
   Cmd_Set_Idol_Gem // 0x76
   Cmd_Set_Idol_Gem // 0x76
Line 170: Line 170:
   Cmd_Set_Crystal_State // 0x83
   Cmd_Set_Crystal_State // 0x83
   Cmd_Set_Palette_Range // 0x84
   Cmd_Set_Palette_Range // 0x84
   85 Cmd_Shrink_Brandon_Down // 0x85
   85 Cmd_Shrink_Brandon_Down 1 arg
   86 Cmd_Grow_Brandon_Up // 0x86
   86 Cmd_Grow_Brandon_Up 0 args
   Cmd_Set_Brandon_Scale_X_And_Y // 0x87
   Cmd_Set_Brandon_Scale_X_And_Y // 0x87
   Cmd_Reset_Scale_Mode // 0x88
   Cmd_Reset_Scale_Mode // 0x88
   Cmd_Get_Scale_Depth_Table_Value // 0x89
   Cmd_Get_Scale_Depth_Table_Value // 0x89
   Cmd_Set_Scale_Depth_Table_Value // 0x8A
   Cmd_Set_Scale_Depth_Table_Value // 0x8A
   8B Cmd_Message // 0x8B - set room name/status text (unk, stringID)
   8B Cmd_Message // 0x8B - set room name/status text (unk, stringID)
   Cmd_Check_Click_On_NPC // 0x8C
   Cmd_Check_Click_On_NPC // 0x8C
   Cmd_Get_Foyer_Item // 0x8D
   Cmd_Get_Foyer_Item // 0x8D
334

edits