shithub: pokecrystal

Download patch

ref: 3af505fe55a27f38904bac802163e7bfcf990094
parent: b9175e8a030e4adcb85cecd43b2aaa83a4849f3d
author: IIMarckus <[email protected]>
date: Tue Mar 20 14:43:04 EDT 2012

Add pointers to the 0f script commands.

--- a/constants.asm
+++ b/constants.asm
@@ -1,3 +1,9 @@
+; macro for putting a byte then a word
+dbw: MACRO
+	db \1
+	dw \2
+	ENDM
+
 BULBASAUR  EQU 1
 IVYSAUR    EQU 2
 VENUSAUR   EQU 3
--- a/main.asm
+++ b/main.asm
@@ -5,7 +5,182 @@
 SECTION "bank2",DATA,BANK[$2]
 INCBIN "baserom.gbc",$8000,$4000
 SECTION "bank3",DATA,BANK[$3]
-INCBIN "baserom.gbc",$C000,$4000
+INCBIN "baserom.gbc",$c000,$29
+
+SpecialsPointers: ; 0xc029
+	dbw $25,$7c28
+	dbw $0a,$5ce8
+	dbw $0a,$5d11
+	dbw $0a,$5d92
+	dbw $0a,$5e66
+	dbw $0a,$5e82
+	dbw $0a,$5efa
+	dbw $0a,$5eee
+	dbw $0a,$5c92
+	dbw $0a,$5cf1
+	dbw $0a,$5cfa
+	dbw $0a,$5bfb
+	dbw $0a,$5c7b
+	dbw $0a,$5ec4
+	dbw $0a,$5ed9
+	dbw $0a,$5eaf
+	dbw $0a,$5f47
+	dbw $03,$42f6
+	dbw $03,$4309
+	dbw $41,$50b9
+	dbw $03,$434a
+	dbw $13,$59e5
+	dbw $04,$7a12
+	dbw $04,$7a31
+	dbw $04,$75db
+	dbw $3e,$7b32
+	dbw $3e,$7cd2
+	dbw $03,$4658
+	dbw $05,$559a
+	dbw $03,$42e7
+	dbw $05,$66d6
+	dbw $05,$672a
+	dbw $05,$6936
+	dbw $0b,$4547
+	dbw $05,$6218
+	dbw $23,$4c04
+	dbw $03,$429d
+	dbw $24,$4913
+	dbw $03,$42c0
+	dbw $03,$42cd
+	dbw $03,$4355
+	dbw $03,$4360
+	dbw $03,$4373
+	dbw $03,$4380
+	dbw $03,$438d
+	dbw $03,$43db
+	dbw $23,$4084
+	dbw $23,$4092
+	dbw $23,$40b6
+	dbw $23,$4079
+	dbw $23,$40ab
+	dbw $00,$0d91
+	dbw $00,$31f3
+	dbw $00,$0485
+	dbw $00,$0fc8
+	dbw $00,$1ad2
+	dbw $00,$0e4a
+	dbw $03,$4230
+	dbw $03,$4252
+	dbw $00,$3c55
+	dbw $00,$3cdf
+	dbw $00,$3d47
+	dbw $04,$6324
+	dbw $02,$4379
+	dbw $03,$425a
+	dbw $03,$4268
+	dbw $03,$4276
+	dbw $03,$4284
+	dbw $03,$43ef
+	dbw $05,$7421
+	dbw $05,$7440
+	dbw $04,$79a8
+	dbw $03,$43fc
+	dbw $09,$6feb
+	dbw $09,$7043
+	dbw $01,$7305
+	dbw $01,$737e
+	dbw $01,$73f7
+	dbw $03,$4419
+	dbw $09,$4b25
+	dbw $09,$4b4e
+	dbw $09,$4ae8
+	dbw $13,$587a
+	dbw $03,$4434
+	dbw $03,$4422
+	dbw $13,$59d3
+	dbw $22,$4018
+	dbw $03,$42b9
+	dbw $03,$42da
+	dbw $01,$718d
+	dbw $01,$71ac
+	dbw $0a,$64ab
+	dbw $0a,$651f
+	dbw $0a,$6567
+	dbw $05,$4209
+	dbw $3e,$7841
+	dbw $03,$443d
+	dbw $01,$7413
+	dbw $01,$7418
+	dbw $01,$741d
+	dbw $03,$4472
+	dbw $09,$65ee
+	dbw $03,$4478
+	dbw $03,$44b9
+	dbw $05,$6dc7
+	dbw $0a,$62a0
+	dbw $03,$448f
+	dbw $03,$449f
+	dbw $03,$44ac
+	dbw $46,$6c3e
+	dbw $46,$7444
+	dbw $46,$75e8
+	dbw $46,$77e5
+	dbw $46,$7879
+	dbw $46,$7920
+	dbw $46,$793b
+	dbw $5c,$40b0
+	dbw $5c,$40ba
+	dbw $5c,$4114
+	dbw $5c,$4215
+	dbw $5c,$44e1
+	dbw $5c,$421d
+	dbw $5c,$4b44
+	dbw $46,$7a38
+	dbw $5c,$4bd3
+	dbw $45,$7656
+	dbw $00,$0150
+	dbw $40,$51f1
+	dbw $40,$5220
+	dbw $40,$5225
+	dbw $40,$5231
+	dbw $12,$525b
+	dbw $22,$6def
+	dbw $47,$41ab
+	dbw $5c,$4687
+	dbw $22,$6e68
+	dbw $5f,$5224
+	dbw $5f,$52b6
+	dbw $5f,$52ce
+	dbw $5f,$753d
+	dbw $40,$7612
+	dbw $22,$6ddb
+	dbw $40,$6142
+	dbw $12,$589a
+	dbw $12,$5bf9
+	dbw $13,$70bc
+	dbw $22,$6f6b
+	dbw $22,$6fd4
+	dbw $22,$7170
+	dbw $04,$5485
+	dbw $12,$66e8
+	dbw $12,$6711
+	dbw $03,$4225
+	dbw $5c,$4bd2
+	dbw $40,$766e
+	dbw $40,$77eb
+	dbw $40,$783c
+	dbw $41,$60a2
+	dbw $05,$4168
+	dbw $40,$77c2
+	dbw $41,$630f
+	dbw $40,$7780
+	dbw $40,$787b
+	dbw $12,$6e12
+	dbw $41,$47eb
+	dbw $12,$6927
+	dbw $24,$4a54
+	dbw $24,$4a88
+	dbw $03,$4224
+
+INCBIN "baserom.gbc",$c224,$10000-$c224
+
+
 SECTION "bank4",DATA,BANK[$4]
 INCBIN "baserom.gbc",$10000,$4000
 SECTION "bank5",DATA,BANK[$5]