Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - trainerbattle errors | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Baro

Hoarder
Level: 30

Posts: 351/366
EXP: 153824
For next: 12045

Since: 07-07-04
From: Portonovo, Spain

Since last post: 1 day
Last activity: 15 hours
Posted on 09-13-05 05:09 PM Link | Quote
I don\'t know why, but the trainerbattle command isn\'t working!
I\'ve added the filler, the person IS a trainer ... the script is theorically correct...

#org 0x6b61e0
trainerbattle 0x1 0x7 0x0 0x6b5EC0 0x6b6006 0x6b6200
nop
nop
nop
nop
checkflag 0x50A5
if 0x0 jump 0x6b62B0 \'give TM
msgbox 0x6b6140 \'\"well\"
callstd 0x6
release
end

#org 0x6b6200
message 0x6b6066 \'received the badge
boxset 0x1
fanfare 0x171 \'trumpets
copyvarifnotzero 0x8000 0x71 \'BADGE
copyvarifnotzero 0x8001 0x1
callstd 0x0
msgbox 0x6b6085 \'\"The BADGE...\"
callstd 0x6
nop
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
msgbox 0x6B60B0
callstd 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end

#org 0x6b62B0 \'GIVE TM
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
message 0x6B60B0 \'what the tm is and bye
boxset 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end




The script is compiled and such, but when playing the screen turns purple. I know I\'ve used that command before (copying the script isn\'t working, in various maps, the settings for both objects are the same, etc), but it was in a previous version of elitemap... maybe the rubikon.dat is wrong or something, I dunno... if somebody can give me ye olde rubikon.dat (maybe for version 3.3, 3.0...) or the old entire elitemap... or just help me, I\'ll be pleased
PKMNHackz

Micro-Goomba
Level: 4

Posts: 2/18
EXP: 249
For next: 30

Since: 10-22-05

Since last post: 3 days
Last activity: 3 days
Posted on 10-22-05 10:05 PM Link | Quote
i will post the rubikon.dat for 3.0 all the way to 3.7, if that helps. Just wait so I can compile them into one folder to upload it onto my website.
interdpth

Rex
Level: 36

Posts: 527/527
EXP: 294398
For next: 13712

Since: 03-20-04

Since last post: 10 days
Last activity: 31 days
Posted on 10-23-05 03:45 AM Link | Quote
Baro I hate you

*interdpth digs into Bloody Garnet to help fix this


Well your problem is that the trainer script is requires only 5 params your script. This should work

#org 0x6b61e0
trainerbattle 0x1 0x7 0x0 0x6b5EC0 0x6b6006
msgbox 0x6b6200
nop
nop
nop
nop
checkflag 0x50A5
if 0x0 jump 0x6b62B0 \'give TM
msgbox 0x6b6140 \'\"well\"
callstd 0x6
release
end

#org 0x6b6200
message 0x6b6066 \'received the badge
boxset 0x1
fanfare 0x171 \'trumpets
copyvarifnotzero 0x8000 0x71 \'BADGE
copyvarifnotzero 0x8001 0x1
callstd 0x0
msgbox 0x6b6085 \'\"The BADGE...\"
callstd 0x6
nop
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
msgbox 0x6B60B0
callstd 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end

#org 0x6b62B0 \'GIVE TM
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
message 0x6B60B0 \'what the tm is and bye
boxset 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end


I haven't been hacking for a long ass time so hope that should help ^^






Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Pokémon hacking - trainerbattle errors | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.011 seconds.