diff options
| author | Catobat <69204835+Catobat@users.noreply.github.com> | 2023-01-08 18:20:37 +0100 |
|---|---|---|
| committer | Catobat <69204835+Catobat@users.noreply.github.com> | 2023-01-08 18:20:37 +0100 |
| commit | 3073318124bbede2bc62102775c7dc5d622a968c (patch) | |
| tree | 2bfb220a69d4e605c7af73483f91d194c11abf49 /src | |
| parent | 529c1ef8b9c441df0f4b6574b351b286e3c1cb40 (diff) | |
Business Scrub Kinstone stuff
Diffstat (limited to 'src')
| -rw-r--r-- | src/enemy/businessScrub.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/enemy/businessScrub.c b/src/enemy/businessScrub.c index 643b63e6..d1333784 100644 --- a/src/enemy/businessScrub.c +++ b/src/enemy/businessScrub.c @@ -28,7 +28,7 @@ void sub_0802922C(Entity*); void sub_0802925C(Entity*); extern const struct SalesOffering gUnk_080CC954[]; -extern const u8 gUnk_080CC9C0[]; +extern const u8 kinstoneTypes[]; extern void (*const BusinessScrub_Functions[])(Entity*); extern void (*const gUnk_080CC9E0[])(Entity*); extern const u8 gUnk_080CCA04[]; @@ -258,7 +258,7 @@ void sub_08028CE8(Entity* this) { case 0: subtype = offer->field_0x9; if (subtype == 0xff) { - subtype = gUnk_080CC9C0[Random() & 7]; + subtype = kinstoneTypes[Random() & 7]; } CreateItemEntity(offer->offeredItem, subtype, 0); @@ -577,17 +577,7 @@ const struct SalesOffering gUnk_080CC954[] = { #endif }; -const u8 gUnk_080CC9C0[] = { - 0x6e, - 0x6f, - 0x70, - 0x71, - 0x72, - 0x73, - 0x74, - 0x75, - -}; +const u8 kinstoneTypes[] = { 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75 }; void (*const BusinessScrub_Functions[])(Entity*) = { BusinessScrub_OnTick, |
