Users browsing this thread: 5 Guest(s)
Pony Fantasy VI Remake
Yes, you don't really have an idea of what you are doing and in this context you'll get lost whatever method or path I use for explaining. I did this myself and maybe you should try to find the element that links all three infos, for next time or understanding the link between pointers fetching / pointers data / offset the pointers point to:
Pointers that are fetched (pressing 6 more times on "run" would have get you this)
The pointers
D1/ECE0: 1B 4F
D1/ECE2: 2B 4F
D1/ECE4: 8C 4F
D1/ECE6: C0 4F
The Scripts
And yes, a search for the attack name (Justice) would have got you there in the first place. (I feel stupid now...)
Pointers that are fetched (pressing 6 more times on "run" would have get you this)
Code:
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE0] A:0208 X:0208 Y:0000 P:envmxdIzc
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE0] A:0208 X:0208 Y:0000 P:envmxdIzc
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE0] A:0208 X:0208 Y:0000 P:envmxdIzc
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE4] A:020C X:020C Y:0000 P:envmxdIzc
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE2] A:020A X:020A Y:0000 P:envmxdIzc
$C1/B2BF BF D8 EA D1 LDA $D1EAD8,x[$D1:ECE6] A:020E X:020E Y:0000 P:envmxdIzc
The pointers
D1/ECE0: 1B 4F
D1/ECE2: 2B 4F
D1/ECE4: 8C 4F
D1/ECE6: C0 4F
The Scripts
And yes, a search for the attack name (Justice) would have got you there in the first place. (I feel stupid now...)
Code:
; [ Animation Script $0104: Justice (sprite) ]
D0/4F1B: 00 A0 speed 1, align to center of screen
D0/4F1D: 89 CE loop start (206 times)
D0/4F1F: 1F [---]
D0/4F20: 8A loop end
D0/4F21: 89 20 loop start (32 times)
D0/4F23: 80 3B change target's color palette to animation palette
D0/4F25: 1F [---]
D0/4F26: 80 3C restore target's color palette
D0/4F28: 1F [---]
D0/4F29: 8A loop end
D0/4F2A: FF end of script
; [ Animation Script $0105: Justice (bg3) ]
D0/4F2B: 30 A0 speed 4, align to center of screen
D0/4F2D: C4 40 move bg3 thread to this thread's position
D0/4F2F: 83 3F move down 32
D0/4F31: 83 3F move down 32
D0/4F33: 89 0F loop start (15 times)
D0/4F35: 83 C1 move up 2
D0/4F37: 00 [$00]
D0/4F38: 8A loop end
D0/4F39: 89 0F loop start (15 times)
D0/4F3B: 83 21 move down 2
D0/4F3D: 00 [$00]
D0/4F3E: 8A loop end
D0/4F3F: 89 10 loop start (16 times)
D0/4F41: 09 [$09]
D0/4F42: 8A loop end
D0/4F43: 80 2C 76 load animation palette $76 (bg3)
D0/4F46: F7 A0 wait until scanline 160
D0/4F48: D4 02 04 13 add (sprites, bg2, bg1) to (bg3)
D0/4F4C: 80 38 enable high priority bg3
D0/4F4E: C4 40 move bg3 thread to this thread's position
D0/4F50: C9 12 play sound effect $12
D0/4F52: 03 [$03]
D0/4F53: 04 [$04]
D0/4F54: 89 04 loop start (4 times)
D0/4F56: 05 [$05]
D0/4F57: 8A loop end
D0/4F58: 83 87 move back 8
D0/4F5A: 89 08 loop start (8 times)
D0/4F5C: 06 [$06]
D0/4F5D: 07 [$07]
D0/4F5E: 08 [$08]
D0/4F5F: 8A loop end
D0/4F60: AA E0 set bg3 animation palette color subtraction to 0 (black)
D0/4F62: 84 01 set animation speed to 2
D0/4F64: 89 04 loop start (4 times)
D0/4F66: 06 [$06]
D0/4F67: 06 [$06]
D0/4F68: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F6A: 06 [$06]
D0/4F6B: 06 [$06]
D0/4F6C: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F6E: 06 [$06]
D0/4F6F: 06 [$06]
D0/4F70: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F72: 07 [$07]
D0/4F73: 07 [$07]
D0/4F74: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F76: 07 [$07]
D0/4F77: 07 [$07]
D0/4F78: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F7A: 07 [$07]
D0/4F7B: 07 [$07]
D0/4F7C: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F7E: 08 [$08]
D0/4F7F: 08 [$08]
D0/4F80: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F82: 08 [$08]
D0/4F83: 08 [$08]
D0/4F84: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F86: 08 [$08]
D0/4F87: 08 [$08]
D0/4F88: B4 E1 increase bg3 animation palette color subtraction by 1 (black)
D0/4F8A: 8A loop end
D0/4F8B: FF end of script
; [ Animation Script $0106: Justice (bg1) ]
D0/4F8C: 00 A0 speed 1, align to center of screen
D0/4F8E: D1 01 invalidate character/monster sprite priority
D0/4F90: C4 80 move bg1 thread to this thread's position
D0/4F92: 89 04 loop start (4 times)
D0/4F94: 83 9F move back 32
D0/4F96: 8A loop end
D0/4F97: C9 00 play default sound effect
D0/4F99: 83 3F move down 32
D0/4F9B: 83 3F move down 32
D0/4F9D: 83 3F move down 32
D0/4F9F: 83 3F move down 32
D0/4FA1: 83 3F move down 32
D0/4FA3: 00 [$00]
D0/4FA4: BD A0 hide bg1 thread
D0/4FA6: 89 27 loop start (39 times)
D0/4FA8: 83 C1 move up 2
D0/4FAA: 83 60 move forward 1
D0/4FAC: 00 [$00]
D0/4FAD: 83 C1 move up 2
D0/4FAF: 83 80 move back 1
D0/4FB1: 00 [$00]
D0/4FB2: 8A loop end
D0/4FB3: 89 67 loop start (103 times)
D0/4FB5: 00 [$00]
D0/4FB6: 8A loop end
D0/4FB7: 89 40 loop start (64 times)
D0/4FB9: 00 [$00]
D0/4FBA: 8A loop end
D0/4FBB: 89 1F loop start (31 times)
D0/4FBD: 00 [$00]
D0/4FBE: 8A loop end
D0/4FBF: FF end of script
; [ Animation Script $0107: Justice (extra) ]
D0/4FC0: 00 A0 speed 1, align to center of screen
D0/4FC2: CD FF set bg1 animation palette color addition to 31 (white)
D0/4FC4: B2 FF set sprite animation palette color addition to 31 (white)
D0/4FC6: EB jump based on thread ($4FCD, $4FDC, $5001)
D0/4FCD: 83 21 move down 2
D0/4FCF: 83 41 move down/back 2
D0/4FD1: 89 7E loop start (126 times)
D0/4FD3: 1F [---]
D0/4FD4: 8A loop end
D0/4FD5: 84 01 set animation speed to 2
D0/4FD7: 8B 09 animated loop start (9 times, increment frame offset each time)
D0/4FD9: 01 [$01]
D0/4FDA: 8C animated loop end
D0/4FDB: FF end of script
« Next Oldest | Next Newest »
Users browsing this thread: 5 Guest(s)