View Single Post
  #276    
Old January 17th, 2009 (06:12 AM).
Andryandrew
Italian Asm Hacker
 
Join Date: Mar 2007
Age: 21
Gender:
Nature: Timid
Quote originally posted by MarineMechX2:
Gangway, Noob coming through!

Alright, I'm gonna ask this question; I've dug through as many pages as I could but couldn't find the answer, so here goes:

I'm using Pokemon Emerald, so I know it's possible...
Has anyone found out how to make a partnered battle? Where you've got a teamate who uses his three and you use you're three. (Ex. Player&Steven vs. Team Magma @ Mossdeep City)

I know that the certain types of battles are Wild, Trainer/Rebattle and Gym/Rebattle... but based on what I've seen, it might be a 'Special' event... and anyone help out?

Here's the code right before, during and after the battle...
Spoiler:
'-----------------------
....
#org 0x223FDA
applymovement LASTTALKED 0x827259E
waitmovement 0x0
msgbox 0x82247FF '"STEVEN: [player]\v\h05!\nYou're goi..."
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x822400C
msgbox 0x8224854 '"STEVEN: Then, hurry!\nGet ready qui..."
callstd 0x4
closeonkeypress
applymovement LASTTALKED 0x82725AA
waitmovement 0x0
releaseall
end
'-----------------------

Jumping to 22400C******

'-----------------------
#org 0x22400C
applymovement LASTTALKED 0x82725AA
waitmovement 0x0
special 0x28
fadescreen 0x1
special 0x2A
waitstate
compare LASTRESULT 0x0
if 0x5 goto 0x8224032
special 0x29
goto 0x8223FDA
special 0xFB
setvar 0x8004 0x2
setvar 0x8005 0x4
special 0xEA
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xEF
waitstate
setvar 0x8004 0x6
special 0xEA
special 0x29
copyvar 0x8000 LASTRESULT
compare 0x8000 0x1
if 0x1 goto 0x8224071
fadescreen 0x1
special 0xCB
waitstate
msgbox 0x82248C2 '"MAXIE: We failed to make the volcan..."
....
'-----------------------

Jumping to 224032******

'-----------------------
#org 0x224032
special 0xFB
setvar 0x8004 0x2
setvar 0x8005 0x4
special 0xEA
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xEF
waitstate
setvar 0x8004 0x6
special 0xEA
special 0x29
copyvar 0x8000 LASTRESULT
compare 0x8000 0x1
if 0x1 goto 0x8224071
fadescreen 0x1
special 0xCB
waitstate
msgbox 0x82248C2 '"MAXIE: We failed to make the volcan..."
....
'-----------------------


...anyone got any ideas?
due to the battle is a special event, it isn't reproducible...
__________________

Sorry for my bad English... I'm Italian
Anybody that is a GBA ASM hacker is cool!
I'm a GBA ASM hacker --> I'm cool :D

Made Day-Night Routine! You can find the thread HERE