Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
December 4th, 2012 (2:30 PM).
I liek Mudkipz
Quote originally posted by
Hello everyone! I having two question of my script...
Have someone know how to checkpokemon like checkitem, checkpcitem, etc...
Here is my example script that I need to make a script to check player is caught Bulbasaur or not.
if 0x1 goto @thanks
msgbox @help 0x6
wildbattle 0x1 0x8 0x0
(somethings check if player caught the Bulbasaur goto @caught, if uncaught goto
msgbox @caught2 0x6
giveitem 0x1 0x1 MSG_OBTAIN
msgbox @good 0x6
msgbox @uncaught2 0x6
giveitem 0x2 0x1 MSG_OBTAIN
msgbox @good 0x6
msgbox @how 0x6
= Trainer! Please help me!\p The Bulbasaur attacking me!\nPlease defeat it!
= Oh thanks you...\pWow you catched it!\nGood Job dude!\lThis is your prize,\ltake it!
= Oh thanks you...\pThis is your prize,\ntake it!
= Good luck, dude!
= How are you, [player]?
Have everyone know how to do it?
Other question, this script is making for DNS Day,Night and Season tools, I want to check week of day, but failed, can someone tell me why?
comparefarbytetobyte 0x03005540 0x0
if 0x1 goto @sunday
comparefarbytetobyte 0x03005540 0x1
if 0x1 goto @monday
comparefarbytetobyte 0x03005540 0x2
if 0x1 goto @tuesday
comparefarbytetobyte 0x03005540 0x3
if 0x1 goto @wednesday
comparefarbytetobyte 0x03005540 0x4
if 0x1 goto @thursday
comparefarbytetobyte 0x03005540 0x5
if 0x1 goto @friday
comparefarbytetobyte 0x03005540 0x6
if 0x1 goto @saturday
msgbox @sun 0x6
msgbox @mon 0x6
msgbox @tues 0x6
msgbox @wed 0x6
msgbox @thurs 0x6
msgbox @fri 0x6
msgbox @sat 0x6
= Today is Sunday.
= Today is Monday.
= Today is Tuesday.
= Today is Wednesday.
= Today is Thursday.
= Today is Friday.
= Today is Saturday.
Answer me please... ><
PS: Sorry for my bad english... Thanks.
View original post
Ok, for the Bulbasaur thing, you have to use this bit of code there:
setvar 0x8004 0x1 special2 0x800D 0x17C compare 0x800D 0x0
if 0x1 goto @(pointer for uncaught)
compare 0x800D 0x1
if 0x1 goto @(pointer for caught)
Y: Roak || 1177-8023-4387
Joined Jul 2012
Also Known As:
Brighton, Herp, Roak, LordPineapples, MasterPineapples
Battle Server Name:
View Public Profile
Send a private message to Herpahermaderp
Find all posts by Herpahermaderp
Find threads started by Herpahermaderp
Ignore Posts by Herpahermaderp