shithub: pokecrystal

Download patch

ref: 5ba5a025c41f2cafdfd542c07f42de15b47a28aa
parent: a7631774b41b7f87826668724bd6cc0951b64a48
author: padz <yenatch@github.com>
date: Mon Oct 8 22:40:36 EDT 2012

add breeding section to wram

--- a/main.asm
+++ b/main.asm
@@ -51480,7 +51480,7 @@
 	
 	;   $def5  %10000000 ; daycare 1 on
 	dwb $def5, %01000000 ; monster 1 and 2 are compatible
-	;   $def5  %???????? ; egg is ready
+	;   $def5  %00100000 ; egg is ready
 	dwb $def5, %00000001 ; monster 1 in daycare
 	
 	;   $df2c  %10000000 = daycare 2 on
--- a/wram.asm
+++ b/wram.asm
@@ -1378,3 +1378,52 @@
 	ds 11
 PartyMon6Nickname: ; 0xde78
 	ds 11
+
+SECTION "Breeding",BSS[$def5]
+BreedOssan: ; def5
+; bit 7: active
+; bit 6: monsters are compatible
+; bit 0: monster 1 in daycare
+	ds 1
+
+BreedMon1:
+BreedMon1Nick: ; def6
+	ds 11
+BreedMon1OT: ; df01
+	ds 11
+BreedMon1Stats:
+Breedmon1Species: ; df0c
+	ds 1
+	ds 31
+
+BreedObasan: ; df2c
+; bit 7: active
+; bit 0: monster 2 in daycare
+	ds 1
+
+StepsToEgg: ; df2d
+	ds 1
+DittoInDaycare: ; df2e
+;  z: yes
+; nz: no
+	ds 1
+
+BreedMon2:
+BreedMon2Nick: ; df2f
+	ds 11
+BreedMon2OT: ; df3a
+	ds 11
+BreedMon2Stats:
+BreedMon1Species: ; df45
+	ds 1
+	ds 31
+
+EggNick: ; df65
+; EGG@
+	ds 11
+EggOT: ; df70
+	ds 11
+EggStats:
+EggSpecies: ; df7b
+	ds 1
+	ds 31
--