Users browsing this thread: 1 Guest(s)
Command Edit Upgrade patch [WIP] Alpha Patch Available
10-28-2015, 06:07 AM
The morph command has more than one enable-type variable or related variables. You can choose any one of them. Ram $1DD1, bit #$04 is related with the second Tritoch event and used to check the morph availability at C3/6145 in the menu:
About your code, i think something is missing. As example, JSR $22A6 doesn't have a valid opcode in the original or modified code. Perhaps, did you forget to include the changes in the code you send? Also, i don't know where C3/FF99 is called and i am unable to figure out the context of this routine, like the initial values for the registers A,X,Y and their settings. Also, X and Y are set as 8-bit in your code but in the original code for Gogo's screen, X and Y are set as 16-bit. Can you check if the setting for the X,Y registers are correct? The game freezes/bugs if their settings are incorrect.
If only one of the JMP/BEQ/BNE/JSR opcodes arguments is wrong, the game will freeze or bug. Can i recommend asar or similar compiler? It surely can make your life easier with the abstraction of their opcodes settings and labels.
Code:
C3/6145: ADD11D LDA $1DD1
C3/6148: 8904 BIT #$04 (has the second Tritoch event happened yet?)
C3/614A: D003 BNE $614F (branch if so)
About your code, i think something is missing. As example, JSR $22A6 doesn't have a valid opcode in the original or modified code. Perhaps, did you forget to include the changes in the code you send? Also, i don't know where C3/FF99 is called and i am unable to figure out the context of this routine, like the initial values for the registers A,X,Y and their settings. Also, X and Y are set as 8-bit in your code but in the original code for Gogo's screen, X and Y are set as 16-bit. Can you check if the setting for the X,Y registers are correct? The game freezes/bugs if their settings are incorrect.
If only one of the JMP/BEQ/BNE/JSR opcodes arguments is wrong, the game will freeze or bug. Can i recommend asar or similar compiler? It surely can make your life easier with the abstraction of their opcodes settings and labels.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)