wacca: fix crash on 4th page of Reverse Gate, partially fixes #5

This commit is contained in:
Hay1tsme 2023-04-14 23:47:31 -04:00
parent dc3e3e1fb3
commit b1f9be0121
4 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,3 @@
SET FOREIGN_KEY_CHECKS=0;
--Can't really add items back so this just does nothing
SET FOREIGN_KEY_CHECKS=1;

View File

@ -0,0 +1,3 @@
SET FOREIGN_KEY_CHECKS=0;
DELETE FROM wacca_item WHERE type=17 AND item_id=312002;
SET FOREIGN_KEY_CHECKS=1;

View File

@ -9,4 +9,4 @@ database = WaccaData
reader = WaccaReader
frontend = WaccaFrontend
game_codes = [WaccaConstants.GAME_CODE]
current_schema_version = 3
current_schema_version = 4

View File

@ -275,9 +275,6 @@ class WaccaBase:
self.data.item.put_item(
req.aimeId, WaccaConstants.ITEM_TYPES["touch_effect"], 312001
) # Added reverse
self.data.item.put_item(
req.aimeId, WaccaConstants.ITEM_TYPES["touch_effect"], 312002
) # Added reverse
return UserStatusCreateResponseV2(profileId, req.username).make()