diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-02-07 00:40:17 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-02-07 00:40:17 -0500 |
commit | 0e448936b5f77561f8bb55f3e0d27e7ed5a64c99 (patch) | |
tree | 7c529306c92bcc3e482ef4e0ac89ec941bdc4097 /src/field/shop.c | |
parent | 51ade392bf16ae4c87a18f8965b8e650fe983d03 (diff) | |
parent | a395cd7e53ed33634eef4df22814da4ba96a3357 (diff) |
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'src/field/shop.c')
-rw-r--r-- | src/field/shop.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/field/shop.c b/src/field/shop.c index a87c859b7..a197ca13d 100644 --- a/src/field/shop.c +++ b/src/field/shop.c @@ -1238,3 +1238,24 @@ void Shop_CreateDecorationShop2Menu(u16 *itemList) SetShopItemsForSale(itemList); SetShopMenuCallback(EnableBothScriptContexts); } + +#if DEBUG +__attribute__((naked)) +void debug_sub_80C2818(void) +{ + asm("\ + push {lr}\n\ + mov r0, #0x0\n\ + bl CreateShopMenu\n\ + ldr r0, ._290 @ gMartBuyNoSellOptionList\n\ + bl SetShopItemsForSale\n\ + mov r0, #0x0\n\ + bl SetShopMenuCallback\n\ + pop {r0}\n\ + bx r0\n\ +._291:\n\ + .align 2, 0\n\ +._290:\n\ + .word gMartBuyNoSellOptionList+0x3"); +} +#endif |