Complete menu modification!
Posted: Wed Jun 23, 2010 11:59 pm
Working from Levellord's patch, I've figured out how to modify several properties of the cursor:
I've also figured out how to prevent items of the menu from being displayed:
which can be combined with Levellord's info and the patch above to shorten the menu:
Note that removing an item from the middle causes the labels to shift up, but not the functions.
I can change the functions of the menu items and even make a new game start after any of them. (with the limitation that the function replaced may become inaccessible.) Unlike Levellord's attempt, which only worked through the benevolence of the computer pixies, my way is reliable and works for nearly anything. However, it's a different patch for every item pair, so I will only post particular replacements by request.
Code: Select all
#first frame of cursor idle animation
%patch $92FB $09 $00
#number of frames in cursor idle animation minus one
%patch $9316 $02 $00
# top menu item
# when moving up
%patch $9331 $00
# when wrapping around from bottom
%patch $9472 $00 $00
# bottom menu item
# when moving down
%patch $9414 $07
# when wrapping from top
%patch $938F $07 $00
#first frame of cursor animation for moving up
%patch $933E $09 $00
#Tile the cursor leaves behind when moving up [blank space]
%patch $9361 $20 $00
#number of frames in cursor animation for moving up minus one
%patch $937E $02 $00
#tile to draw when done sliding upwards
%patch $93B5 $09 $00
#first frame of cursor animation for moving down
%patch $9421 $09 $00
#Tile the cursor leaves behind when moving down [blank space]
%patch $9444 $20 $00
#number of frames in cursor animation for moving down minus one
%patch $9461 $02 $00
#tile to draw when done sliding down
%patch $9498 $09 $00
Code: Select all
#disable drawing of menu items
#%patch $9628 $90 $90 $90 #New Game
#%patch $9631 $90 $90 $90 #Continue Game
#%patch $963A $90 $90 $90 #Story
#%patch $9643 $90 $90 $90 #About Id
#%patch $964C $90 $90 $90 #High Scores
#%patch $9655 $90 $90 $90 #Ordering Info
#%patch $965E $90 $90 $90 #Previews!
#%patch $9667 $90 $90 $90 #Restart Demo
Code: Select all
%ext ck1
%version 1.31
#Menu box height in lines of text
%patch $9601 $07 $00
# top menu item
# when moving up
%patch $9331 $00
# when wrapping around from bottom
%patch $9472 $00 $00
# bottom menu item
# when moving down
%patch $9414 $04
# when wrapping from top
%patch $938F $04 $00
%patch $9655 $90 $90 $90 #Ordering Info
%patch $965E $90 $90 $90 #Previews!
%patch $9667 $90 $90 $90 #Restart Demo
%end
I can change the functions of the menu items and even make a new game start after any of them. (with the limitation that the function replaced may become inaccessible.) Unlike Levellord's attempt, which only worked through the benevolence of the computer pixies, my way is reliable and works for nearly anything. However, it's a different patch for every item pair, so I will only post particular replacements by request.