mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-12-30 14:09:35 +13:00
Cleaned up and finalized route 2
hg-commit-id: e96ff3835e91
This commit is contained in:
parent
7c2a27f551
commit
577869304c
2
Makefile
2
Makefile
|
|
@ -18,7 +18,7 @@ redrle: extras/redrle.c
|
||||||
${CC} -o $@ $>
|
${CC} -o $@ $>
|
||||||
|
|
||||||
.asm.tx:
|
.asm.tx:
|
||||||
awk -f textpre.awk < $< > $@
|
awk -b -f textpre.awk < $< > $@
|
||||||
|
|
||||||
pokered.gbc: pokered.o
|
pokered.gbc: pokered.o
|
||||||
rgblink -o $@ $<
|
rgblink -o $@ $<
|
||||||
|
|
|
||||||
43
common.asm
43
common.asm
|
|
@ -27624,32 +27624,30 @@ SECTION "bank15",DATA,BANK[$15]
|
||||||
|
|
||||||
Route2_h:
|
Route2_h:
|
||||||
db TileSet_Outside; Tileset
|
db TileSet_Outside; Tileset
|
||||||
db Route2Height,Route2Width ;Height,Width blocks (1 block = 4x4 tiles)
|
db Route2Height,Route2Width ;Height, Width
|
||||||
dw $407E ;Map-Pointer
|
dw Route2Blocks, Route2Texts, Route2Script ;Blocks, Texts, Scripts
|
||||||
dw $54E6 ;Maps text pointer
|
|
||||||
dw $54E3 ;Maps script pointer
|
|
||||||
db NORTH | SOUTH ;Connection Byte
|
db NORTH | SOUTH ;Connection Byte
|
||||||
|
|
||||||
;Connection data
|
;Connection data
|
||||||
db PEWTER_CITY ;Index of connected map
|
db PEWTER_CITY ;Map
|
||||||
dw $4714 ;Pointer to "Connection Strip"s Upperleft Block (Connected Map)
|
dw $4714 ;y, x Strip Starting Point
|
||||||
dw $C6E8 ;Pointer to "Connection Strip"s Upperleft Block (Current Map)
|
dw $C6E8 ;Strip X-Offset to current map
|
||||||
db 16 ;Bigness
|
db 16 ;"Bigness" (Unsure) ;Something to do with MapData
|
||||||
db 20 ;Map Width
|
db 20 ;"Map Width" (Unsure) ;Something to do with TileSet
|
||||||
db 35 ;Y Alignment
|
db 35 ;Player's new Y-Coordinates
|
||||||
db 10 ;X alignment
|
db 10 ;Player's new X-Coordinates
|
||||||
dw $C8BD ;Window
|
dw $C8BD ;New UL Block Pos (Window)
|
||||||
|
|
||||||
db VIRIDIAN_CITY ;Index of connected map
|
db VIRIDIAN_CITY ;Map
|
||||||
dw $43EE ;Pointer to "Connection Strip"s Upperleft Block (Connected Map)
|
dw $43EE ;y, x Strip Starting Point
|
||||||
dw $C958 ;Pointer to "Connection Strip"s Upperleft Block (Current Map)
|
dw $C958 ;Strip X-Offset to current map
|
||||||
db 16 ;Bigness
|
db 16 ;"Bigness" (Unsure) ;Something to do with MapData
|
||||||
db 20 ;Map Width
|
db 20 ;"Map Width" (Unsure) ;Something to do with TileSet
|
||||||
db 0 ;Y Alignment
|
db 0 ;Player's new Y-Coordinates
|
||||||
db 10 ;X alignment
|
db 10 ;Player's new X-Coordinates
|
||||||
dw $C703 ;Window
|
dw $C703 ;New UL Block Pos (Window)
|
||||||
|
|
||||||
dw $4022 ;Object Data Pointer
|
dw Route2Object ;Object Data Pointer
|
||||||
|
|
||||||
Route2Object: ; 0x54022 (size=72)
|
Route2Object: ; 0x54022 (size=72)
|
||||||
db $f ; border tile
|
db $f ; border tile
|
||||||
|
|
@ -28147,7 +28145,8 @@ Route2Script: ; 0x554e3
|
||||||
jp $3c3c
|
jp $3c3c
|
||||||
; 0x554e6
|
; 0x554e6
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$554e6,$8
|
Route2Texts:
|
||||||
|
dw Route2Text1, Route2Text2, Route2Text3, Route2Text4
|
||||||
|
|
||||||
Route2Text3: ; 0x554ee
|
Route2Text3: ; 0x554ee
|
||||||
TX_FAR _Route2Text3
|
TX_FAR _Route2Text3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue