From 5ed2503491f800906d8022bf53d6441f6e45c417 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 13 Feb 2025 21:00:34 -0800 Subject: [PATCH] fix ExtendedItemInfo in city --- .../ExtendedItemInfo/ExtendedItemInfo.3OE0.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OE1.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OE2.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OJ2.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OJ3.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OJ4.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OJ5.patch.s | 2 +- .../ExtendedItemInfo/ExtendedItemInfo.3OP0.patch.s | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE0.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE0.patch.s index 7b8f9c46..f4c7ca73 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE0.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE0.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE1.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE1.patch.s index 62e77138..3fd3d68a 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE1.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE1.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE2.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE2.patch.s index a758dab2..39558fc3 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE2.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OE2.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ2.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ2.patch.s index 64f2aee9..2e095791 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ2.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ2.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ3.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ3.patch.s index 90926a68..cc2b43bc 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ3.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ3.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ4.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ4.patch.s index c48ae127..be952fd7 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ4.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ4.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ5.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ5.patch.s index 7221c285..d1194df6 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ5.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OJ5.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist diff --git a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OP0.patch.s b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OP0.patch.s index b9725b66..98edb12e 100644 --- a/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OP0.patch.s +++ b/system/client-functions/ExtendedItemInfo/ExtendedItemInfo.3OP0.patch.s @@ -123,7 +123,7 @@ set_window_state: # (TItem* item: r3) -> void bl TWindowCtrlPlayer::get_for_player lwz r3, [r3 + 0x28] cmplwi r3, 0 - bne window_should_exist # TWindowMainMenu does not exist + beq window_should_exist # TWindowMainMenu does not exist lwz r3, [r3 + 0x4C] rlwinm. r3, r3, 0, 31, 31 beq window_should_not_exist