-- An auto test script -- Each of the tables below (with the exception of Button) matches a screen in -- the game, the names are exactly the same. -- When a screen is entered, the game starts pressing the buttons defined in -- the matching table for that screen. The buttons are presses in order, one -- second apart from each other. -- Any questions, just ask . -- -- ChrisM -- These buttons correspond directly to the values in the code base, don't change them unless the code changes Button = { kLeft = 1, -- D-pad left. kRight = 2, -- D-pad right. kUp = 4, -- D-pad up. kDown = 8, -- D-pad down. kGo = 16, -- the 'forwards' button: X on PS2, A on Wii kBack = 32, -- the 'back' button, triangle on PS2, B on Wii kOne = 64, -- square/1 kTwo = 128, -- circle/2 kStart = 256, -- the start button on PS2, plus on Wii kSelect = 512, -- select/minus kZ = 1024, -- z button on Wii kC = 2048, -- c button on Wii kHome = 4096, -- home on Wii kLShoulder1 = 8192, -- Left shoulder button 1 kRShoulder1 = 16384, -- Right shoulder button 1 kLShoulder2 = 32768, -- Left shoulder button 2 kRShoulder2 = 65536, -- Right shoulder button 2 kLeftStickDown = 131072, -- Left stick pressed down. kRightStickDown = 262144, -- Right stick pressed down. kRandomDirection = 524288, -- A random direction (LRUD) kRandomButton = 1048576 -- A toally random button (any of the above, except kRandomDirection) } -- Select normal SingIt game TopLevelMenu = { Button.kGo, } -- Select One Player, one song ModeSelect = { Button.kGo, } -- A player with the default name PlayerSelect = { Button.kGo, } -- Select the first song on the list SongSelect = { Button.kGo, } -- Start the game! SongSummary = { Button.kGo, } -- Leave the score menu ScoreSummary = { Button.kGo, } -- leave the HS menu HighScores = { Button.kGo, } -- Select normal SingIt game (same as TopLevelMenu?) TitleScreen = { Button.kGo } ---------------- -- MessageBoxes. -- These should have names that match the message of a box, but be no more than the first 16 chars ---------------- Create_New_Save = { Button.kGo } Save_successful = { Button.kGo }