News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Project Yakuza Freedom

Started by interdpth, September 04, 2018, 03:36:19 PM

Previous topic - Next topic

interdpth

Hello,
I have Freed the spidermachine Yakuza/Gedo for use in nearly any room. Sadly, you'll need do update the definelabel values to update for your room. This will spawn yakuza immediately upon entering the room. If you do want him to spawn immeadielty in the room, remove the CheckSamusCondition label. It will restore the Samus Y check. You'll also need to activate event 72 as I didn't remove that part. Have fun!

https://www.youtube.com/watch?v=3XMs8KVUEO0

Then just fun with the middle room labels.

https://www.youtube.com/watch?v=s-bAkV6Buw4


.gba
.open "mf.gba","mfyakuzafreedom.gba",0x8000000
.definelabel MIDDLEROOMHOLDSAMUS, 0x3FF //Tile*64
.definelabel MIDDLEROOMNOTHOLDSAMUS, 0x5FF//Tile*64
.definelabel BOTTOMOFROOMALLOWED, 0x73E //Tile*64
//event check not handled
SpawnYakuza:
.org 0x805BDC6
B     0x805BDD8

CheckSamusCondition:
.org 0x805BECE
nop
nop
nop

RealYakuzaSpawn:
.org 0x805BF04
nop
nop

IsYGreaterThanMax:
.org 0x805B98A
LDR     R0, =BOTTOMOFROOMALLOWED //Tile*64
.org 0x805B998
hey:
.pool


//Controls how high yakuza goes when stationary
GoDesiredY:
//When samus is grabbed
.org 0x805B9B2
LDR     R0, =MIDDLEROOMHOLDSAMUS
.org 0x805B9C0
.pool

//When not holding samus
.org 0x805B9C8
LDR     R0, =MIDDLEROOMNOTHOLDSAMUS
.org 0x0805B9D8
.pool


//How far left to go, signed
.org 0x805B940
CMP     R1, #0xD7


//How far right to go, signed
.org 0x805B96C
CMP     R1, #0x18
.close