The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other legendary battle obeying mew script (https://www.pokecommunity.com/showthread.php?t=355078)

tkim September 3rd, 2015 1:37 PM

legendary battle obeying mew script
 
Hi guys, I'm trying to create a legendary battle with mew by altering the mewtwo script in fire red. I'm trying change the cry and in-battle appearance to mew and also its level to 30. I am using XSE to save the mewtwo script as a .rbc file and altering it through notepad. Here is the script for mewtwo:

'---------------
#org 0x1624F5
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry 0x96 0x2
preparemsg 0x8177F9F '"Mew!"
waitmsg
waitcry
pause 0x14
playsong 0x156 0x0
waitkeypress
setwildbattle 0x96 0x46 0x0
setflag 0x807
special 0x138
waitstate
clearflag 0x807
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if 0x1 goto 0x8162558
compare LASTRESULT 0x4
if 0x1 goto 0x8162561
compare LASTRESULT 0x5
if 0x1 goto 0x8162561
setflag 0x2BC
release
end

'---------------
#org 0x1A7AE0
release
end

'---------------
#org 0x162558
setflag 0x2BC
goto 0x81A922D

'---------------
#org 0x162561
setvar 0x8004 0x96
goto 0x81A9236

'---------------
#org 0x1A922D
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
release
end

'---------------
#org 0x1A9236
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
bufferpokemon 0x0 0x8004
msgbox 0x81A63C4 MSG_KEEPOPEN '"The [buffer1] flew away!"
release
end


'---------
' Strings
'---------
#org 0x177F9F
= Mew!

#org 0x1A63C4
= The [buffer1] flew away!

From what I know, I am supposed to change the 0x96 in cry to 0x97 (mew?) , the 0x96 and 0x46 in wildbattle to 0x97 and 0x1E (level 30?) respectively. What else do I have to do in order for this to work? I've already tried what I just said, but after compiling the altered script and giving the script to a new sprite ingame, I do not get the results I want. Instead the text glitches out when speaking to the sprite and the game doesn't allow any other input afterwards. I've also tried changing the setflag 0x2BC at the bottom of section #org 0x1624F5 of the script to setflag 0x1201. One last thing, is there a flag to make the mew obey?

C me September 4th, 2015 1:00 AM

The obedience check for Mew is at 0x01D402, I think you just replace that byte with 00, I'm not really sure.


All times are GMT -8. The time now is 2:30 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.