Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Reply
 
Thread Tools
  #1176    
Old July 29th, 2016 (8:34 PM).
 
Join Date: Jan 2013
Gender: Male
Posts: 18
Thanks. It was 1.95, my understanding was that was the current best. Thanks, sorry to derail this thread. Then again, it helps with the tutorial.
Reply With Quote

Relevant Advertising!

  #1177    
Old July 29th, 2016 (8:46 PM). Edited July 29th, 2016 by LanceD.
 
Join Date: Feb 2014
Gender: Male
Posts: 81
Quote:
Originally Posted by waw View Post
Thanks. It was 1.95, my understanding was that was the current best. Thanks, sorry to derail this thread. Then again, it helps with the tutorial.
It's everything but lol The general consensus is to stay away from 1.95. I have no idea why the offsets behave like that though. Maybe someone else could shine some light on that. In the meantime, give it a try in 1.92, and don't forget to report back on whether it works this time.

No worries though, your post was on topic with the thread.

EDIT: This thread might be of help too if you ever get stuck at something.
Reply With Quote
  #1178    
Old July 29th, 2016 (9:15 PM). Edited July 29th, 2016 by waw.
 
Join Date: Jan 2013
Gender: Male
Posts: 18
Huh, it's fixing the code that's in the offset box. It *looks* right.

That said, the code isn't working. I may have messed something up. I'm going to try on a new base rom and see what happens from there.

EDIT:

Using this code:

Quote:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @talk 0x6
release
end

#org @talk
= I'm an NPC.
I'm not getting a message box to pop up. The other problem seems solved, however.
Reply With Quote
  #1179    
Old July 29th, 2016 (9:30 PM).
 
Join Date: Feb 2014
Gender: Male
Posts: 81
Quote:
Originally Posted by waw View Post
Huh, it's fixing the code that's in the offset box. It *looks* right.

That said, the code isn't working. I may have messed something up. I'm going to try on a new base rom and see what happens from there.

EDIT:

Using this code:



I'm not getting a message box to pop up. The other problem seems solved, however.
That code should work, really. Whatever is wrong it's not the code.
Reply With Quote
  #1180    
Old July 30th, 2016 (11:03 AM).
 
Join Date: Jan 2013
Gender: Male
Posts: 18
So what am I doing wrong?

I have a clean rom, XSE, Amap 1.92.

Looking at opening scene, add a Sprite (i can see it). I can make them look around in A Map. So I put in this code:

Quote:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @talk 0x6
release
end

#org @talk
= I'm an NPC.
Into XSE. Save it. Compile it, looking at he ROM i'm using. It compiles, it gives me @talk and @start. I use @start 6 digit number (now, 800000).

I then go to A Map, the new sprite I've inserted. I give him this script, save.

Open the game, approach to talk to him. He looks at me, there's a beep for the message box, and nothing. He will always look my way when I click on him, but there's no dialogue.

I'm using FireRed.

I've seen several tutorials that do this thing and it all works.
Reply With Quote
  #1181    
Old July 30th, 2016 (11:15 AM).
 
Join Date: Feb 2014
Gender: Male
Posts: 81
Maybe the script got messed up somehow. Do you have XSE attached to A-Map yet?

If not, in A-Map, go to 'Settings -> Choose script editor', then browse to where you have XSE, and select the XSE exe file. A box might pop up where you have to pick yes or no, pick yes. Then select the sprite and click the 'Open script' button and it should open in XSE. See if it's not messed up or anything.
Reply With Quote
  #1182    
Old July 30th, 2016 (11:23 AM).
 
Join Date: Jan 2013
Gender: Male
Posts: 18
Quote:
'-----------------------
#org 0x8000A6
lock
faceplayer
msgbox 0x88000B1 '"I'm an NPC."
release
end


'---------
' Strings
'---------
#org 0x8000B1
= I'm an NPC.
This is what pops up in XSE after doing your steps.
Reply With Quote
  #1183    
Old August 5th, 2016 (1:42 PM).
 
Join Date: Feb 2014
Gender: Male
Posts: 81
Quote:
Originally Posted by waw View Post
This is what pops up in XSE after doing your steps.
That seems right.
Reply With Quote
  #1184    
Old September 5th, 2016 (7:50 AM).
VladTheBeast's Avatar  
Join Date: Jul 2016
Posts: 2
I need help !!!
#dynamic 0x71A9F8
#org @main
checkflag 0x1201
if 0x0 goto @done
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @done
release
end

#org @move
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0xFE

what is the problem when i get in game the the movement is not working but the game get stucked
Reply With Quote
  #1185    
Old October 23rd, 2016 (2:39 PM).
 
Join Date: May 2016
Gender: Male
Posts: 7
anyone tell me my problem?

heres my script




#dynamic 0x761474
#org @start
lock
faceplayer
msgbox @text1 0x6
Applymovement 0xff @heromove
waitmovement 0xff
applymovement 0x2 @rivalmove
waitmovement 0x2
msgbox @text2 0x6
trainerbattle 0x1 0x001 0x0 @before @after @later
end
end

#org @text1
= Hey \v\h01!\nWait up!

#org @text2
= \v\h06: Glad i finally caught up\nto you!\lI came as soon as I heard you got\lyour first Pokemon.

#org @Before
= Let's battle!

#org @after
= Oh wow you have grown already!

#org @later
msgbox @text3 0x6
giveitem 0x4 0x5 MSG_OBTAIN
msgbox @text4 0x6
applymovement 0x2 @rivalmove2
hidesprite 2
setvar 0x6001 0x1
setflag 0x1202
release

#org @text3
= Here take these!

#org @text4
= Those are Pokeballs!\nYou can use them to capture\lPokemon.\lFirst weaken the wild Pokemon\land/or inflict a status condition\lfor a much easier capture.\lAlright thats all I wanted.\lGood luck!



#org @heromove
#raw 0x6
#raw 0xfe

#org @rivalmove
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xfe

#org @rivalmove2
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xfe

after the battle the screen stays black
Reply With Quote
  #1186    
Old 1 Week Ago (7:15 AM).
 
Join Date: Aug 2013
Location: india
Age: 20
Gender: Male
Nature: Sassy
Posts: 14
Quote:
Originally Posted by Diegoisawesome View Post
For the Level Scripting Tutorial, click here.

diegoisawesome's MEGA-HUGE XSE Scripting Tutorial


(PokeScript tutorial originally by thethethethe)

[CENTER][SIZE=5]Don't Take Or Modify Without Permission


That was a very extensive and in-detail scripting tutorial. Hope you enjoyed it!
If you see any bugs, feel free to tell me about them.












can you make a offline tutorial , like vedio or pdf file???
Reply With Quote
Reply
Quick Reply

Sponsored Links
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 4:37 AM.