|
Archive Old threads that serve no purpose are here. |
|
Thread Tools | Display Modes |
![]() |
#1 |
Junior Trainer
Join Date: May 2010
Location: U.S.A.
Age: 28
Posts: 70
![]() ![]() |
![]() Instant MoveCamera in FireRed and Emerald! Hi friends! Well, as the topic title suggests, this here will explain a routine in ASM and Hex code that I found ... The first corresponds to Fire Red USA and has been made by TSK on PokéCommunity, while the latter corresponds to Emerald USA and has been done by Sonicarvalho ... I do not think it necessary to specify the credits if you use something from here, but if you feel the need go and contact the original authors. Fire Red USA Well this is quite simple, you just have to insert this ASM routine in a Fire Red ROM (You must place it on an offset multiple of 4 ... or where the offset ends in 0, 4, 8 or C): Code:
Spoiler:
Paste it into a blank spot in your ROM with any Hex editor. And here are the specials you have to use:
Spoiler:
Well, that's not all, this is how to use it properly(you will have to use this instead of the writebytetooffset): Code:
Spoiler:
---- Emerald USA (Sonicarvalho) Well, this time the process is even easier! Especially if you've expanded the ROM to 32 MB (since there is really little room in Emerald). You'll need to paste this into a blank space in your ROM (You must place it on an offset multiple of 4 ... or where the offset ends in 0, 4, 8 or C): Code:
Spoiler:
Once again use the setvar instead of writebytetooffset: Code:
Spoiler:
Finally, you have to insert these specials instead of the original Ruby USA:
Spoiler:
Finally here is a sample script:
Spoiler:
__________________
-Mewthree9000 We all fight a war within ourselves, a war of greatness, a war to become the best. LIVE THE REVOLUTION, PHO! Gotta Hack'em All!! ![]() ![]() My current projects: -Pokemon ChaosBlack[v2] -!!Elite FireRed ROM Base!! |
![]() |
|
Sponsored Links |
![]() |
#2 |
握りモンスター
![]() ![]() Join Date: Apr 2012
Location: maybe.
Age: 21
Posts: 418
![]() |
![]()
Can you describe the point of this script?
|
![]() |
![]() |
#3 |
Orange Developer
![]() Join Date: Aug 2010
Location: Valencia Island
Age: 23
Posts: 811
![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
|
![]() |
#4 |
握りモンスター
![]() ![]() Join Date: Apr 2012
Location: maybe.
Age: 21
Posts: 418
![]() |
![]()
point of the script, not what it does.
|
![]() |
![]() |
#5 |
Junior Trainer
Join Date: May 2010
Location: U.S.A.
Age: 28
Posts: 70
![]() ![]() |
![]()
Well it saves data space for one.
A normal camera script uses the applymovment system, so you would have to use a byte for every block crossed. 'Instant MoveCamera' uses one script to determine these movements, saves time, and all you have to do is enter the destination! You will shave off at least 30 minutes from every script you make using it.
__________________
-Mewthree9000 We all fight a war within ourselves, a war of greatness, a war to become the best. LIVE THE REVOLUTION, PHO! Gotta Hack'em All!! ![]() ![]() My current projects: -Pokemon ChaosBlack[v2] -!!Elite FireRed ROM Base!! Last edited by mewthree9000; 1st November 2013 at 07:57 AM. |
![]() |
|
![]() |
#6 | |
握りモンスター
![]() ![]() Join Date: Apr 2012
Location: maybe.
Age: 21
Posts: 418
![]() |
![]() Quote:
But could you explain how it works? |
|
![]() |
![]() |
#7 |
Junior Trainer
Join Date: May 2010
Location: U.S.A.
Age: 28
Posts: 70
![]() ![]() |
![]()
Okay, that would take an explanation of ASM, for more information find a ASM tutorial: http://www.pokemonhackersonline.com/...RT-ASM-ROUTINE
The basic idea is your are calling a script with your event that then sets the location you want to use into variables, then calls the ASM routine using the script command "callasm"! The ASM routine uses the variables that you set in the script and uses them to perform a move camera operation, calculating the movement needed.
__________________
-Mewthree9000 We all fight a war within ourselves, a war of greatness, a war to become the best. LIVE THE REVOLUTION, PHO! Gotta Hack'em All!! ![]() ![]() My current projects: -Pokemon ChaosBlack[v2] -!!Elite FireRed ROM Base!! |
![]() |
Tags |
emerald, firered, instant, movecamera, [Tutorial] |
Thread Tools | |
Display Modes | |
|
|