Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Sun Apr 28, 2024 10:03 am

All times are UTC - 8 hours [ DST ]


Forum rules





Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Dec 22, 2008 2:05 pm 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
Code:
Set Score to XXXX:
C21C5EA8 00000002
3B20XXXX 93380C68
60000000 00000000
C20F0DEC 00000002
3860XXXX 907F0000
60000000 00000000

Final score will equal what the code sets, but the score displayed on the screen might be different

Code:
Set Thrown Count to 0:
C20F80AC 00000002
38600000 907D000C
60000000 00000000
C20EE1E0 00000002
38000000 90650050
60000000 00000000

Code works but only if activated before thrown count is increased normally
Seems to make completion of certain levels impossible (the few levels where you must run out of throws; one such level I tested this code on did finish, and the one I originally tested the code on would sit there indefinitely after you ran out of throws, forcing you to pause and exit the level with no way of completing it)

I also discovered that the current "toy" you have selected is based on a pointer in mem2; that is, to change which toy is selected, you have to find and change a pointer, not an ID value.

The data for the toys is contiguous and ordered as the toys appear in the menu, from right to left, top to bottom, page 1 through page 3. This means you can find the pointer using appropriate less than/greater than previous value searches. I could have got an ASM address by which to get the location of this pointer (it moves :/), but after that, I don't know a way to make a "Switch selected toy" code that is safe.

Code:
Lots of Time:
C20F55A4 00000004
7C03F800 40820014
2C037FFF 4180000C
3C00005B 60008998
7C63F850 00000000

Works great! Gives 99:59 to accomplish tasks

Code:
Speedy Protection Missions:
C20F55B4 00000003
2C007FFF 41A00008
38000100 901E0008
60000000 00000000

Conflicts with "Lots of Time" in certain levels
Only need 1 second of keeping cows alive to win bandit levels

Code:
No Enemies:
C2101104 00000002
3BE00063 93E30004
60000000 00000000
C212D214 00000002
38600063 3BE00063
7C03F840 00000000

Makes completion of certain levels impossible
Makes enemies not spawn

_________________
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group