(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-15-24 03:45 PM
0 users currently in The Pit of Despair.
Acmlm's Board - I3 Archive - The Pit of Despair - Need some help (no stupidity)!!! New poll | | Thread closed
Add to favorites | Next newer thread | Next older thread
User Post
thrasas

Rope








Since: 12-31-05
From: Greece

Last post: 6551 days
Last view: 6551 days
Posted on 05-26-06 11:15 AM Link
Hello, pokemonhackers, after my long abcensefrom poke hacking i decided to start hacking again.
This time (as always) i am hacking emerald with AM 1.8 (sorry Kawa) and other tools. So far I have completely changed all the maps as well as many trainer sprites. I have also inserted new tilesets(WOW). and,and,and......many other things which will be "officially" released in a couple of weeks.

Anyway the part i want your help is script editing. I have never edited scripts before and i know it is crucial to insert new scripts for a hack to be good.
If anyone can be of any help i would appreciate it. (Documentation,tips,e.t.c)

Prefered prgs: Poketronic, ScriptEd-Rubikon


Anyone considering this as a stupid nonsence thread please clarify why.....
Darkdata

980








Since: 02-25-06
From: Newfoundland

Last post: 6295 days
Last view: 6295 days
Posted on 05-26-06 12:26 PM Link
1.) Please look over your post before you post it.

Now with scripting. Scripting is not that hard if you look at some example code from the game first. To learn how to script it is basicly trial and error.

Small bit of advice.

·Backup, backup, backup!
·Untill you have some idea what you are doing do not mess with level scripts.
·Save all your scripts that work. You never know when you might need them again.
·When scripted does not work use a hex editor to make the script. It's not that hard.
·If all else fails walk away and come back. You never know if your brain want's to kill you.

Have fun



-Darkdata
Yoronosuku

Toss Tortoise


 





Since: 11-17-05
From: Massachusetts is my new home..

Last post: 6295 days
Last view: 6295 days
Skype
Posted on 05-28-06 10:57 AM Link
Dark, please don't do my job for me, his post seemed just fine to me you also didn't really tell him anything he needed...

I think, there is documentation with the Elitemap Tools on editing scripts with its script editor? Read that over and get a basic feel for what you're doing. Hope its helps
thrasas

Rope








Since: 12-31-05
From: Greece

Last post: 6551 days
Last view: 6551 days
Posted on 05-28-06 02:19 PM Link
I thank both of you, and i hope i will be soon ecperienced at editing scripts

PS:i haven't found any documentation with EM.3.7......
Darkdata

980








Since: 02-25-06
From: Newfoundland

Last post: 6295 days
Last view: 6295 days
Posted on 05-28-06 06:02 PM Link
Sorry Yoronosuku ^_^.
He did ask for tips though.

The documaton is under the title's tutorial.html and commands.html.

And for the fun of it an example script.


[This script mimics the starter pokemon script in ruby]
#org 0x9C1380
checkflag 0x1FF
if 0x1 jump 0x89C1490
msgbox 0x89C1500
callstd 0x5
compare LASTRESULT 0x0
if 0x1 jump 0x89C1480
givepokemon 0x72 0x5 0x0 0x0 0x0 0x0 0x0
fanfare 0x212
msgbox 0x89C1600
callstd 0x2
waitfanfare
setflag 0x1FF
setflag 0x800
end

#org 0x9C1490
msgbox 0x89C1540
callstd 0x6
release
end

#org 0x9C1480
msgbox 0x89C1570
callstd 0x6
end

#org 0x9C1500
= Do you want the GRASS-type TANGELA?
#org 0x9C1600
= \v\h01 obtained a TANGELA!
#org 0x9C1540
= That's one of PROF. BIRCH's POKéMON.
#org 0x9C1570
= Choose wisely!


Hope I helped a bit. :)



(edited by Darkdata on 05-28-06 05:04 PM)
(edited by Darkdata on 05-28-06 05:04 PM)
thrasas

Rope








Since: 12-31-05
From: Greece

Last post: 6551 days
Last view: 6551 days
Posted on 05-29-06 08:33 AM Link
Thanks Darkdata you helped a lot! (Found the tutorial!!!)
Maple

Bronto Burt








Since: 11-18-05
From: Bronx, New York

Last post: 6326 days
Last view: 6296 days
Posted on 05-29-06 03:10 PM Link
Originally posted by Darkdata

#org 0x9C1380
checkflag 0x1FF
if 0x1 jump 0x89C1490
msgbox 0x89C1500
callstd 0x5
compare LASTRESULT 0x0
if 0x1 jump 0x89C1480
givepokemon 0x72 0x5 0x0
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
fanfare 0x212
msgbox 0x89C1600
callstd 0x2
waitfanfare
setflag 0x1FF
setflag 0x860
end

#org 0x9C1490
msgbox 0x89C1540
callstd 0x6
release
end

#org 0x9C1480
msgbox 0x89C1570
callstd 0x6
end

#org 0x9C1500
= Do you want the GRASS-type TANGELA?
#org 0x9C1600
= \v\h01 obtained a TANGELA!
#org 0x9C1540
= That's one of PROF. BIRCH's POKéMON.
#org 0x9C1570
= Choose wisely!




Er-hem. That's actually a script I made (with small help by Scizz) specifically for Emerald to mimic the pokeballs in Pokemon FireRed. Not to seem rude but it would have been nice if you'd had credited me, and not changed large parts of it...

This is the proper script (untested but should work right):


#include stdpoke.rbh
#org 0x9C1120
lock
faceplayer
checkflag 0x1FF
if 0x1 jump 0x9C1140
message 0x9C1160
boxset 0x5
compare LASTRESULT 0x0
if 0x1 jump 0x9C1150
fanfare 0x212
message 0x9C1200
boxset 0x6
givepokemon PKMN_TANGELA 0x5 0x0
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
waitfanfare
setflag 0x1FF
setflag 0x860
release
end

#org 0x9C1140
message 0x9C1230
boxset 0x6
release
end

#org 0x9C1150
message 0x9C1260
boxset 0x6
release
end

#org 0x9C1160
= So, you want the GRASS POKéMON,\nTANGELA?
#org 0x9C1200
= \v\h01 recieved a TANGELA!
#org 0x9C1230
= That's one of PROF. BIRCH's POKéMON.
#org 0x9C1260
= Choose wisely!


Put it to good use! =D


(edited by Maple on 05-29-06 02:11 PM)
Darkdata

980








Since: 02-25-06
From: Newfoundland

Last post: 6295 days
Last view: 6295 days
Posted on 05-29-06 03:25 PM Link
Sorry maple,
Pulled a random script out of my doc's folder.

^^ More random scrips to help you. Credit to those who made it.


#org 0x00000
checkgender
if 0 goto 0x00001 'if boy goto 0x00001
if 1 goto 0x00002 'if girl goto 0x00002
release
end

#org 0x00001
msgbox 0x00003
boxset 0x3
end

#org 0x00002
msgbox 0x00004
boxset 0x3
end

#org 0x00003
= Hello Boy!
#org 0x00004
= Hello Girl!

Gender Script


#org 0x800000
message 0x800030
boxset 0x2
message 0x800055
boxset BOXSET_YESNO
compare LASTRESULT 1
if 1 0x800150
compare LASTRESULT 1
message 0x800100
boxset 0x2
break

#org 0x800150
message 0x800125
boxset 0x2
warp 0x00 0x12 0x01
break

#org 0x800030
= Hello, Can I help you?
#org 0x800055
= Wanna lift to Pineco Rocks?
#org 0x800100
= To bad, come again.
#org 0x800125
= Okay, let's go.

Car Script.

How to use hex for take item.
hex---> [45] [87 00] [01] [00]
[87 00] = Item to take
[01] = How many of the item to take
[00] = nop

Yeah thats all I can dig out right now.
Good luck.
thrasas

Rope








Since: 12-31-05
From: Greece

Last post: 6551 days
Last view: 6551 days
Posted on 05-30-06 03:13 AM Link
Well, thanks both of you!
Dardata the script database you made in Pokecommunity relly helped me a lot!
I am just having a hard time understanding how to make scripts cause i have never done anything like this in english before (i am greek) and i don't understand some terms that might be just basic!!!!

Like can somebody explain me what in he** boxset means???
interdpth

Mole
MZM rapist


 





Since: 11-18-05

Last post: 6295 days
Last view: 6295 days
Posted on 05-31-06 06:16 PM Link
Boxset 0x6 is the type of Box one of them is YES_NO can't remember the value for that. God brings back memories
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - The Pit of Despair - Need some help (no stupidity)!!! | Thread closed


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.029 seconds; used 399.16 kB (max 488.42 kB)