Skip to content

*request* Mushroom Revoltion

-migrated-

This discussion is linked to Mushroom Revolution. View game

14 posts

Re: *request* Mushroom Revoltion

Posted Dec 5, 2009 3:11 am

the money is *8 but its a root variable so you can only search once. if you dont understand its the same thing as onslaught2

Re: *request* Mushroom Revoltion

Posted Dec 5, 2009 3:15 pm

I knew we had another topic but it turns out it was on the other site, which is now totally broken.

Straight into the Kong Folder, all gold including the one time valentines day level:

Re: *request* Mushroom Revoltion

Posted Jul 19, 2012 2:48 am

BUMP for botd.

Badgehack seems to work for this, but I'd like to play it. If anyone has possible Aob's that'd be great!

Re: *request* Mushroom Revoltion

Posted Jul 19, 2012 3:23 am
BUMP for botd.

Badgehack seems to work for this, but I'd like to play it. If anyone has possible Aob's that'd be great!

I thought I found the routines for starting money as well as tower cost, but I am too noob to make an AoB to change them. About all I can do is make it so the waves don't deal damage, but the AoBs are super long. (Sorry for the length)

World 1 monsters deal no damage to your base:
96 e8 00 08 08 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 2d 00 00 00
->
96 e8 00 08 08 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 2d 00 00 00

World 2 no damage
96 e8 00 08 08 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 2d 00 00 00
=>
96 e8 00 08 08 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 2d 00 00 00

World 3 no damage
96 01 01 08 08 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 32 00 00 00
->
96 01 01 08 08 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 32 00 00 00

World 4 no damage
96 1a 01 08 08 07 07 00 00 00 07 06 00 00 00 07 06 00 00 00 07 06 00 00 00 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 37 00 00 00
->
96 1a 01 08 08 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 37 00 00 00

World 5 no damage
96 33 01 08 08 07 07 00 00 00 07 07 00 00 00 07 06 00 00 00 07 06 00 00 00 07 06 00 00 00 07 07 00 00 00 07 06 00 00 00 07 06 00 00 00 07 06 00 00 00 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 06 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 05 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 04 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 03 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 02 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 01 00 00 00 07 3c 00 00 00
->
96 33 01 08 08 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 00 00 00 00 07 3c 00 00 00

It's a pain, but if nobody else can get better AoBs I can complete them

I was trying to modify the "init_cash" variable to change the starting cash from 200 (c8) to 65535 (ff ff), but I can't figure out why it doesn't work... is the variable reset somewhere later in the code and I am just missing it?
96 07 00 08 a9 07 c8 00 00 00 -> 96 07 00 08 a9 07 ff ff 00 00

Also, why can't I set the build cost of towers (tower_price) to 1?
96 07 00 08 9e 07 64 00 00 00 -> 96 07 00 08 9e 07 01 00 00 00
can someone help a noob out?

This post was imported from an account that no longer exists!
Previous Name: algarith

Re: *request* Mushroom Revoltion

Posted Jul 19, 2012 8:19 am

I thought I found the routines for starting money as well as tower cost, but I am too noob to make an AoB to change them. About all I can do is make it so the waves don't deal damage, but the AoBs are super long. (Sorry for the length)

<snip>

I was trying to modify the "init_cash" variable to change the starting cash from 200 (c8) to 65535 (ff ff), but I can't figure out why it doesn't work... is the variable reset somewhere later in the code and I am just missing it?
96 07 00 08 a9 07 c8 00 00 00 -> 96 07 00 08 a9 07 ff ff 00 00

Also, why can't I set the build cost of towers (tower_price) to 1?
96 07 00 08 9e 07 64 00 00 00 -> 96 07 00 08 9e 07 01 00 00 00
can someone help a noob out?


mushrooms free
96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 0b
96 04 00 08 0d 08 0d 1c 02 02 02 02 02 02 02

mushrooms add 100 gold
96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 0b
96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 47

element crystals free
96 04 00 08 0d 08 0d 1c 96 03 00 09 8c 01 1c 96 05 00 04 01 09 8e 01 4e 96 05 00 07 01 00 00 00 0b 4e 0b
96 04 00 08 0d 08 0d 1c 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02

element crystals add 200 gold
96 04 00 08 0d 08 0d 1c 96 03 00 09 8c 01 1c 96 05 00 04 01 09 8e 01 4e 96 05 00 07 01 00 00 00 0b 4e 0b
96 04 00 08 0d 08 0d 1c 96 03 00 09 8c 01 1c 96 05 00 04 01 09 8e 01 4e 96 05 00 07 01 00 00 00 0b 4e 47

###

when making AOBs, it's better to target functions and not the initial variables. It's also much easier. I'll do a simple tutorial.

1. look for initial variables to see what we can search for. I see the word "cash" so I'll assume that's where he stores the money value.

2. Searching for cash in Source Code returns a couple of interesting lines of code. Save these lines of code so you don't forget.

Code: [Select]

cash = cash - tower_price;
cash = cash - element_price[this.isi - 1];

3. Now search for cash in Raw Data. This game uses actionscript1, so the raw data will look different when compared to actionscript3. When looking at raw data, look at the surrounding variable names to verify. For example,

Code: [Select]

cash = cash - tower_price;We will look around "cash" to see if there is a "tower_price" and "subtract" codes. Here, we find something that matches that.

Code: [Select]

96 04 00 08 0d 08 0d
_push "cash" "cash"
//1c
_getVariable
//96 02 00 08 0c
_push "tower_price"
//1c
_getVariable
//0b
_subtract

An easy way to change the AOB is just change _subtract to _add2. 0b means _subtract, and 47 means _add2, so change the 0b -> 47. So now, the line of code will read

Code: [Select]

cash = cash + tower_price;and the AOB will look like this

Code: [Select]

96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 0b
->
96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 47

However, this game seems to save data in the mission, and I've had errors pop up before when the game tries to save large values into the sol. So I go with the "let's just ignore everything." 02 means No Operation. This means "ignore this line and don't do anything". So I make the line of code look like this

Code: [Select]

cash = cash;by changing all of the extra bytes to 02.

Code: [Select]

96 04 00 08 0d 08 0d 1c 96 02 00 08 0c 1c 0b
->
96 04 00 08 0d 08 0d 1c 02 02 02 02 02 02 02


Here's the element price one if you want to practice. Again, it's usually easiest to change _subtract to _add2

Code: [Select]

cash = cash - element_price[this.isi - 1];

//96 04 00 08 0d 08 0d
_push "cash" "cash"
//1c
_getVariable
//96 03 00 09 8c 01
_push "element_price"
//1c
_getVariable
//96 05 00 04 01 09 8e 01
_push register1 "isi"
//4e
_getMember
//96 05 00 07 01 00 00 00
_push 1
//0b
_subtract
//4e
_getMember
//0b
_subtract

Re: *request* Mushroom Revoltion

Posted Jul 19, 2012 5:04 pm

thanks themell

Chopping down trees adds gold
96 02 00 08 03 4e 0b
96 02 00 08 03 4e 47

Upgrades don't cost anything
96 02 00 08 04 1c 0b
02 02 02 02 02 02 02

and

96 02 00 08 04 1c 48 12
96 02 00 08 04 1c 02 02

This post was imported from an account that no longer exists!
Previous Name: algarith

Re: *request* Mushroom Revolution

Posted Jul 20, 2012 6:44 pm

One-hit kill?
96 04 00 04 02 08 77
96 04 00 04 02 08 8c

This makes it so that mob hp is subtracted by itself instead of getting subtracted by tower damage.

Code: [Select]

//96 08 00 04 03 08 8c 04 03 08 8c
_push register3 "hp" register3 "hp"
//4e
_getMember
//96 04 00 04 02 08 77
_push register2 "damage"
//4e
_getMember
//0b
_subtract
//4f
_setMember

Edit:
Start with a bit more gold: works only after exiting to the title screen once?
96 07 00 08 a9 07 c8 00 00 00
96 07 00 08 a9 07 f3 f3 f3 00

Thanks for the link, themell!