learning how to VB (#4563)
This commit is contained in:
@@ -5091,16 +5091,14 @@ void Fishing_HandleOwnerDialog(Fishing* this, PlayState* play) {
|
|||||||
|
|
||||||
if (sLinkAge == LINK_AGE_CHILD) { // 9 lbs
|
if (sLinkAge == LINK_AGE_CHILD) { // 9 lbs
|
||||||
//if we should give the main prize AND it's not rando
|
//if we should give the main prize AND it's not rando
|
||||||
if (GameInteractor_Should(VB_SHOULD_GIVE_VANILLA_FISHING_PRIZE, false, &fishData)){
|
if (GameInteractor_Should(VB_SHOULD_GIVE_VANILLA_FISHING_PRIZE, (sFishingRecordLength >= 50.0f) && !(HIGH_SCORE(HS_FISHING) & HS_FISH_PRIZE_CHILD), &fishData)){
|
||||||
//((sFishingRecordLength >= 50.0f) && !(HIGH_SCORE(HS_FISHING) & HS_FISH_PRIZE_CHILD)) {
|
|
||||||
HIGH_SCORE(HS_FISHING) |= HS_FISH_PRIZE_CHILD;
|
HIGH_SCORE(HS_FISHING) |= HS_FISH_PRIZE_CHILD;
|
||||||
getItemId = GI_HEART_PIECE;
|
getItemId = GI_HEART_PIECE;
|
||||||
sSinkingLureLocation = (u8)Rand_ZeroFloat(3.999f) + 1;
|
sSinkingLureLocation = (u8)Rand_ZeroFloat(3.999f) + 1;
|
||||||
}
|
}
|
||||||
} else { // 13 lbs
|
} else { // 13 lbs
|
||||||
//if we should give the main prize AND it's not rando
|
//if we should give the main prize AND it's not rando
|
||||||
if (GameInteractor_Should(VB_SHOULD_GIVE_VANILLA_FISHING_PRIZE, false, &fishData)){
|
if (GameInteractor_Should(VB_SHOULD_GIVE_VANILLA_FISHING_PRIZE, (sFishingRecordLength >= 60.0f) && !(HIGH_SCORE(HS_FISHING) & HS_FISH_PRIZE_ADULT), &fishData)){
|
||||||
//(sFishingRecordLength >= 60.0f) && !(HIGH_SCORE(HS_FISHING) & HS_FISH_PRIZE_ADULT)) {
|
|
||||||
HIGH_SCORE(HS_FISHING) |= HS_FISH_PRIZE_ADULT;
|
HIGH_SCORE(HS_FISHING) |= HS_FISH_PRIZE_ADULT;
|
||||||
getItemId = GI_SCALE_GOLDEN;
|
getItemId = GI_SCALE_GOLDEN;
|
||||||
sSinkingLureLocation = (u8)Rand_ZeroFloat(3.999f) + 1;
|
sSinkingLureLocation = (u8)Rand_ZeroFloat(3.999f) + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user