CLOSES #788, CLOSES #795, CLOSES #796, CLOSES #797, CLOSES #805, CLOSES #826, CLOSES #833, CLOSES #835, CLOSES #837, CLOSES #844, CLOSES #845, CLOSES #846, CLOSES #847

This commit is contained in:
bryanthaboi
2026-08-05 11:09:05 -04:00
parent d18824cfae
commit f6392e8932
32 changed files with 2776 additions and 114 deletions
+7
View File
@@ -489,6 +489,13 @@ function ItemEffects.use(data, save, itemId, target, battle, moveIndex, ow)
if battle then
return "failed", { notTime(data, save) }
end
-- ItemUseBicycle (engine/items/item_effects.asm) opens with
-- `cp 2 ; is the player surfing?` -> jp z, ItemUseNotTime, so the
-- BICYCLE refuses on the water with the same OAK text as the rods
-- above (#846)
if ow and ow.player and ow.player.surfing then
return "failed", { notTime(data, save) }
end
return "bicycle"
end