diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-02 10:27:59 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-02 10:27:59 -0400 |
commit | 2f903c67c9ffbdbec52e1982bbe6cb064e0d1138 (patch) | |
tree | ce9e676d033e48c0bf23c50c86e240c68fda1eae /src | |
parent | af86929d787ca449ab86b3bd8674cbd5c44fb7ea (diff) |
sub_8049088
Diffstat (limited to 'src')
-rw-r--r-- | src/trade.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/trade.c b/src/trade.c index d4d5e0b50..a8f3bf6e8 100644 --- a/src/trade.c +++ b/src/trade.c @@ -78,7 +78,8 @@ struct TradeEwramSubstruct { /*0x007a*/ u8 unk_007a; /*0x007b*/ u8 unk_007b; /*0x007c*/ u8 unk_007c; - /*0x007d*/ u8 filler_007d[3]; + /*0x007d*/ u8 unk_007d; + /*0x007e*/ u16 unk_007e; /*0x0080*/ u8 unk_0080; /*0x0081*/ u8 unk_0081; /*0x0082*/ u8 filler_0082[4]; @@ -1425,6 +1426,13 @@ bool8 sub_8048D44(void) return FALSE; } +void sub_8049088(void) +{ + u8 string[28]; + StringCopy(string, gTradeText_TradeOkayPrompt); + sub_804ACD8(string, (u8 *)BG_CHAR_ADDR(4) + gUnknown_03004824->unk_007e * 32, 20); +} + asm(".section .text.sub_804A96C"); void sub_804A96C(struct UnkStructD *arg0, u8 left, u8 top, u16 *tilemap, u8 width, u8 height, u16 sp8) { |