iimarckus/pokered — pull request #29 by yenatch (2014-01-27 05:59:36+00:00)
Title: ruin everything

Start using text macros for portability and readability.

```asm
text EQUS "db $00," ; Start writing text.
next EQUS "db $4e," ; Move a line down.
line EQUS "db $4f," ; Start writing at the bottom line.
para EQUS "db $51," ; Start a new paragraph.
cont EQUS "db $55," ; Scroll to the next line.
done EQUS "db $57" ; End a text box.
prompt EQUS "db $58" ; Prompt the player to end a text box
; (initiating some other event).

page EQUS "db $49," ; Start a new Pokedex page.
dex EQUS "db $5f, $50" ; End a Pokedex entry.
```

Normal text:

```asm
_CopycatsHouseF2Text2: ; a1749 (28:5749)
db $0, "DODUO: Giiih!", $51
db "MIRROR MIRROR ON", $4f
db "THE WALL, WHO IS", $55
db "THE FAIREST ONE", $55
db "OF ALL?", $57
```

```asm
_CopycatsHouseF2Text2: ; a1749 (28:5749)
text "DODUO: Giiih!"

para "MIRROR MIRROR ON"
line "THE WALL, WHO IS"
cont "THE FAIREST ONE"
cont "OF ALL?"
done
```

Pokedex entries:

```asm
_JynxDexEntry:
db 0,"It seductively",$4E
db "wiggles its hips",$4E
db "as it walks. It",$49
db "can cause people",$4E
db "to dance in",$4E
db "unison with it",$5F,"@"
```

```asm
_JynxDexEntry:
text "It seductively"
next "wiggles its hips"
next "as it walks. It"

page "can cause people"
next "to dance in"
next "unison with it"
dex
```