|
@@ -0,0 +1,49 @@
|
|
1
|
+#include <battle_script.h>
|
|
2
|
+#include <moves.h>
|
|
3
|
+
|
|
4
|
+.align 2
|
|
5
|
+.thumb
|
|
6
|
+.text
|
|
7
|
+
|
|
8
|
+.global bs_uturn_btpass
|
|
9
|
+bs_uturn_btpass:
|
|
10
|
+ jumpifhalfword 0x0 0x02023D4A MOVE_BATON_PASS 0x81D7995
|
|
11
|
+ attackcanceler
|
|
12
|
+ accuracycheck 0x81D695E 0x0
|
|
13
|
+ attackstring
|
|
14
|
+ ppreduce
|
|
15
|
+ calculatedamage
|
|
16
|
+ attackanimation
|
|
17
|
+ waitanimation
|
|
18
|
+ missmessage
|
|
19
|
+ cmd5c 0
|
|
20
|
+ waitstate
|
|
21
|
+ graphicalhpupdate 0
|
|
22
|
+ datahpupdate 0
|
|
23
|
+ critmessage
|
|
24
|
+ waitmessage 0x40
|
|
25
|
+ resultmessage
|
|
26
|
+ waitmessage 0x40
|
|
27
|
+ seteffectwithchancetarget
|
|
28
|
+ faintpokemon 0x0 0x0 0x0
|
|
29
|
+ jumpifcannotswitch 0x81 0x81D694E
|
|
30
|
+ goto 0x81D79A0
|
|
31
|
+
|
|
32
|
+.global as_uturn
|
|
33
|
+as_uturn:
|
|
34
|
+.byte 0x00, 0x05, 0x28, 0x00, 0x3B, 0x27, 0x0A, 0x01, 0x0C, 0x0C, 0x08, 0x19, 0x91, 0x00, 0xC0, 0x02
|
|
35
|
+.word as_uturn_particle_one
|
|
36
|
+.byte 0x02, 0x02, 0x0A, 0x00, 0xF6, 0xFF, 0x05, 0x03, 0xDD, 0x9B, 0x0B, 0x08, 0x02, 0x06, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x08, 0x00, 0x1F, 0x00, 0x05, 0x01, 0x05, 0x28, 0x00, 0x06, 0x28, 0x02, 0x54, 0x4E, 0x3D, 0x08
|
|
37
|
+.byte 0x02, 0x02, 0x06, 0x00, 0x04, 0x00, 0x04, 0x04, 0x19, 0xBA, 0x00, 0x3F, 0x02
|
|
38
|
+.word as_uturn_particle_two
|
|
39
|
+.byte 0x82, 0x02, 0x0A, 0x00, 0xF6, 0xFF, 0x05, 0x01, 0x06, 0x28, 0x00, 0x97, 0x27, 0x03, 0x1D, 0x8B, 0x09, 0x08, 0x02, 0x05, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x01, 0x00, 0x02, 0xB0, 0x7C, 0x3E, 0x08, 0x83, 0x05, 0xF6
|
|
40
|
+.byte 0xFF, 0xF8, 0xFF, 0x01, 0x00, 0x01, 0x00, 0x08, 0x00, 0x19, 0x74, 0x00, 0x3F, 0x04, 0x08, 0x02, 0xB0, 0x7C, 0x3E, 0x08, 0x83, 0x05, 0x0A, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01, 0x00, 0x08, 0x00, 0x19, 0x86, 0x00, 0x3F, 0x05, 0x0B
|
|
41
|
+.byte 0x01, 0x0D, 0x00, 0xF2, 0x27, 0x19, 0xD9, 0x00, 0xC0, 0x03, 0xDD, 0x9B, 0x0B, 0x08, 0x02, 0x06, 0x1F, 0x00, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0B, 0x00, 0xFF, 0xFF, 0x02, 0x50, 0xF1, 0x3F, 0x08, 0x02, 0x00, 0x08, 0xFF
|
|
42
|
+
|
|
43
|
+.align 2
|
|
44
|
+as_uturn_particle_one:
|
|
45
|
+.byte 0x05, 0x28, 0x3B, 0x27, 0xD8, 0xC9, 0x3A, 0x08, 0xF4, 0x68, 0x3E, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x1C, 0x23, 0x08, 0x85, 0x14, 0x0B, 0x08
|
|
46
|
+
|
|
47
|
+.align 2
|
|
48
|
+as_uturn_particle_two:
|
|
49
|
+.byte 0x06, 0x28, 0x3B, 0x27, 0xE0, 0xC9, 0x3A, 0x08, 0x3C, 0x69, 0x3E, 0x08, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x1C, 0x23, 0x08, 0x85, 0x14, 0x0B, 0x08
|