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)
-   -   Script example for moving screen from ow (https://www.pokecommunity.com/showthread.php?t=391341)

Go! Squirtle April 14th, 2017 11:05 PM

example for moving screen from ow
 
Hey! can anyone give a example for moving the screen from ow

Sakib66 April 14th, 2017 11:24 PM

What exactly do u mean by moving screen? Did u mean moving OW from the screen?

Go! Squirtle April 15th, 2017 12:30 AM

Quote:

Originally Posted by Sakib66 (Post 9618928)
What exactly do u mean by moving screen? Did u mean moving OW from the screen?

I mean moving camera.

Go! Squirtle April 15th, 2017 12:31 AM

Means moving screen from player.

Christos April 15th, 2017 4:20 AM

Quote:

Originally Posted by pokEfan Rajat (Post 9618927)
Hey! can anyone give a example for moving the screen from ow

https://www.pokecommunity.com/showthread.php?p=9618446#post9618446

Go! Squirtle April 15th, 2017 6:34 AM

Quote:

Originally Posted by Christos (Post 9619064)

Thanks! Christos i fully understand the script but when i use the code in the script the screen doesn't move.

Christos April 15th, 2017 6:41 AM

Quote:

Originally Posted by pokEfan Rajat (Post 9619129)
Thanks! Christos i fully understand the script but when i use the code in the script the screen doesn't move.

Can you show me the script? Which ROM are you hacking?

Go! Squirtle April 15th, 2017 6:45 AM

Quote:

Originally Posted by Christos (Post 9619134)
Can you show me the script? Which ROM are you hacking?

I am using firered wiat i will soon post the script here

Go! Squirtle April 15th, 2017 7:05 AM

Quote:

Originally Posted by Christos (Post 9619134)
Can you show me the script? Which ROM are you hacking?

Quote:

#include applymov.rbh
#dynamic 0x800000
#org @start
setvar 0x401b 0x1
goto @start2
release
end

#org @start2
applymovement 0x6 @move0
waitmovement 0x0
msgbox @1 0x6
msgbox @2 0x6
applymovement 0x6 @move1
applymovement Playermov @move7
waitmovement 0x0
msgbox @3 0x6
applymovement 0x7 @move2
applymovement 0x8 @move3
applymovement 0x9 @move8
waitmovement 0x0
applymovement 0xff @move4
applymovement 0x6 @move4
waitmovement 0x0
msgbox @4 0x6
special 0x113
applymovement Screenmov @move9
msgbox @pro 0x6
msgbox @g1 0x6
msgbox @g2 0x6
msgbox @g3 0x6
msgbox @g4 0x6
msgbox @g5 0x6
applymovement Screenmov @move10
special 0x114
waitmovement 0x0
applymovement Playermov @move5
applymovement 0x6 @move5
applymovement 0x7 @move5
applymovement 0x8 @move5
applymovement 0x9 @move5
waitmovement 0x0
applymovement 0x11 @move6
waitmovement 0x0
msgbox @pro1 0x6
msgbox @pro2 0x6
showsprite 0xa
showsprite 0xb
showsprite 0xc
showsprite 0xd
showsprite 0xe
showsprite 0xf
msgbox @pro3 0x6
end

#org @1
= [blue_fr]Varun:Hey! [player] we have a serious\nproblem.I just coming to our\lbirthday party. But then i see\lPROF.Sunil is in trouble. We have\lto go to save PROFESSER. Let's go!

#org @2
= [blue_fr]Varun: Let's go!\n

#org @3
= [blue_fr]Kevin: Wait for us!\n

#org @4
= [blue_fr]Kevin: We go to your home to\ninvolve in your birthday but when\lwe reach there you mother tell us\lthat you are gone away to take\lPROF.\pEligma:What! watch there those\nthugs are trying to steal some of\lprofesser's documents.\pAnne:Let's go to protect professer\nand to teach a lesson to all of\lthose thugs.

#org @pro
= [blue_fr]Sunil: What you want from me?\n

#org @g1
= [blue_fr]Grunt1:Huh! how dare you to say\nthis.

#org @g2
= [blue_fr]Grunt2: Hey! PROF. you don't\nknow us.

#org @g3
= [blue_fr]Grunt3: We are the members of\nthe organisation that soon rule\lover Indo! We are members\lof the team Knight.

#org @g4
= [blue_fr]Grunt4: Administrator Sona orded\nme and my companions to steal the\lAlpha pandant which was discovered\lby you and your team in the Ruins\lof Cosmos. Now! give us that\lpandant otherwise we have another\lways to get it from you.

#org @g5
= [blue_fr]Sunil: Someone please help me.\pGrunt5:There is no one that can\nhelp you. Huh!Huh!Huh!

#org @pro1
= [red_fr]Sunil: Thank you! Childrens. I\ncome here to give [player] and his\lfriends there frist pokemon i\lthink that you should all get your\lfirst POKèMON on the same day!\l[player] your father and i am good\lfriends from our childhood. Also\lwe got our frist POKèMON on the\lsame day from that day i decided\lto become a pokemon professor and\lyou father. He wents towards the\lgoal of becoming a POKèMON master\land now is the champion of Indo,\lKanto, Sinnoh and Alola!\p[blue_fr]Kevin: Wow! but professer it is\nnot the time to tell all this at\lthis time.\pSunil: Yeah! right when i start\ntelling about something i can't be\leasily stoped.

#org @pro2
#org @pro3

#org @move0
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Faceleft
#raw Surprisemark
#raw Movleft
#raw Movleft
#raw Movleft
#raw Movleft
#raw Movleft
#raw Movleft
#raw Faceup
#raw Stopmov

#org @move1
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @move7
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movup
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @move8
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @move3
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @move2
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @move4
#raw Faceleft
#raw Surprisemark
#raw Stopmov

#org @move9
#raw Movright
#raw Movright
#raw Movright
#raw Stopmov

#org @Move10
#raw Movleft
#raw Movleft
#raw Movleft
#raw Stopmov

#org @move5
#org @move6






Here is the script.

Christos April 15th, 2017 7:08 AM

Quote:

Originally Posted by pokEfan Rajat (Post 9619144)
Here is the script.

Try adding 'waitmovement 0x0' after the first camera movement.

Go! Squirtle April 15th, 2017 7:19 AM

Quote:

Originally Posted by Christos (Post 9619146)
Try adding 'waitmovement 0x0' after the first camera movement.

I added waitmovement 0x0 after frist applymovement of camera but it still does not work and one thing when i used special 0x113 at the starting and 0x114 at the bottom it works but it has some problems and bugs.

Christos April 15th, 2017 7:25 AM

Quote:

Originally Posted by Go! Squirtle (Post 9619153)
I added waitmovement 0x0 after frist applymovement of camera but it still does not work and one thing when i used special 0x113 at the starting and 0x114 at the bottom it works but it has some problems and bugs.

What problems and bugs? Also when returning the camera back to its place, have the waitmovement be before special 0x114.

Go! Squirtle April 15th, 2017 7:37 AM

Quote:

Originally Posted by Christos (Post 9619159)
What problems and bugs? Also when returning the camera back to its place, have the waitmovement be before special 0x114.

I am moving to frist applymovement command players moves but the screen doesnt and when it is time to run Screen applymovement they work but they move only on the bugged screen due to frist applymovement.

Christos April 15th, 2017 7:43 AM

Quote:

Originally Posted by Go! Squirtle (Post 9619171)
I am moving to frist applymovement command players moves but the screen doesnt and when it is time to run Screen applymovement they work but they move only on the bugged screen due to frist applymovement.

When you call special 0x113 the camera freezes so moving the player won't move the screen. If you want to move the camera as well as the player after 0x113 you'll have to have them do the same movement.

Go! Squirtle April 15th, 2017 7:48 AM

Quote:

Originally Posted by Christos (Post 9619181)
When you call special 0x113 the camera freezes so moving the player won't move the screen. If you want to move the camera as well as the player after 0x113 you'll have to have them do the same movement.

Can you explain me about it?

Go! Squirtle April 17th, 2017 7:47 AM

Quote:

Originally Posted by Christos (Post 9619181)
When you call special 0x113 the camera freezes so moving the player won't move the screen. If you want to move the camera as well as the player after 0x113 you'll have to have them do the same movement.

Thank you! Christos the script has not any problems but the the reason is that I am using a xse unofficial version. I used the official version and then get the best results.


All times are GMT -8. The time now is 9:14 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.