mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-05-23 06:34:20 -04:00
Merge pull request #181 from TSRStormed/patch-1
Added patch for force high poly banjo
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "patches.h"
|
||||
#include "core1/mlmtx.h"
|
||||
#include "functions.h"
|
||||
|
||||
typedef struct {
|
||||
s32 cmd_0;
|
||||
@@ -28,3 +29,26 @@ RECOMP_PATCH void func_80338B50(Gfx **gfx, Mtx **mtx, void *arg2) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @recomp Patched to force the player Banjo & Kazooie model to always be high poly
|
||||
RECOMP_PATCH s32 func_802985F0(void){
|
||||
switch(bsStoredState_getTransformation())
|
||||
{
|
||||
case TRANSFORM_2_TERMITE:
|
||||
return ASSET_34F_MODEL_BANJO_TERMITE;
|
||||
case TRANSFORM_3_PUMPKIN:
|
||||
return ASSET_36F_MODEL_BANJO_PUMPKIN;
|
||||
case TRANSFORM_5_CROC:
|
||||
return ASSET_374_MODEL_BANJO_CROC;
|
||||
case TRANSFORM_4_WALRUS:
|
||||
return ASSET_359_MODEL_BANJO_WALRUS;
|
||||
case TRANSFORM_6_BEE:
|
||||
return ASSET_362_MODEL_BANJO_BEE;
|
||||
case TRANSFORM_7_WISHWASHY:
|
||||
return ASSET_356_MODEL_BANJO_WISHYWASHY;
|
||||
// @recomp Force high poly BK player model on all maps
|
||||
case TRANSFORM_1_BANJO:
|
||||
default:
|
||||
return ASSET_34E_MODEL_BANJOKAZOOIE_HIGH_POLY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user