The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script example for moving screen from ow

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 14th, 2017 (11:05 PM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Hey! can anyone give a example for moving the screen from ow
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 14th, 2017 (11:24 PM).
Sakib66's Avatar
Sakib66 Sakib66 is offline
 
Join Date: Jan 2017
Gender: Male
Nature: Adamant
Posts: 196
What exactly do u mean by moving screen? Did u mean moving OW from the screen?
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 15th, 2017 (12:30 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Sakib66 View Post
What exactly do u mean by moving screen? Did u mean moving OW from the screen?
I mean moving camera.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 15th, 2017 (12:31 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Means moving screen from player.
__________________
The biggest thing you can do in your life
as a Pokemon Fan is to a support a pokemon that
Is discriminated by Game Freak. Support Squirtle!
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 15th, 2017 (4:20 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by pokEfan Rajat View Post
Hey! can anyone give a example for moving the screen from ow
https://www.pokecommunity.com/showthread.php?p=9618446#post9618446
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old April 15th, 2017 (6:34 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Thanks! Christos i fully understand the script but when i use the code in the script the screen doesn't move.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old April 15th, 2017 (6:41 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by pokEfan Rajat View Post
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?
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old April 15th, 2017 (6:45 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
Can you show me the script? Which ROM are you hacking?
I am using firered wiat i will soon post the script here
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:05 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
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.
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:08 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by pokEfan Rajat View Post
Here is the script.
Try adding 'waitmovement 0x0' after the first camera movement.
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:19 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
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.
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:25 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Go! Squirtle View Post
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.
Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:37 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
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.
Reply With Quote
  #14   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:43 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Go! Squirtle View Post
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.
Reply With Quote
  #15   Link to this post, but load the entire thread.  
Old April 15th, 2017 (7:48 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
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?
Reply With Quote
  #16   Link to this post, but load the entire thread.  
Old April 17th, 2017 (7:47 AM).
Go! Squirtle's Avatar
Go! Squirtle Go! Squirtle is offline
Squirtle master is here
 
Join Date: Jun 2016
Location: kanto
Age: 20
Gender: Male
Nature: Jolly
Posts: 60
Quote:
Originally Posted by Christos View Post
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.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:14 AM.