mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Merge pull request #1230 from GriffinRichards/fixubcomm
Fix PutAwayDecorationLoop UB comment
This commit is contained in:
commit
46212e0d14
@ -308,7 +308,7 @@ SecretBase_EventScript_PutAwayDecorationLoop:: @ 8275D39
|
|||||||
compare VAR_0x8005, 0
|
compare VAR_0x8005, 0
|
||||||
goto_if_eq SecretBase_EventScript_PutAwayDecorationLoop
|
goto_if_eq SecretBase_EventScript_PutAwayDecorationLoop
|
||||||
removeobject VAR_0x8006
|
removeobject VAR_0x8006
|
||||||
setflag VAR_0x8005 @ UB: GF likely meant setvar here; setflag 0x8005 is out of bounds
|
setflag VAR_0x8005 @ UB: VAR_0x8005 is set to a flag by PutAwayDecorationIteration, but ScrCmd_setflag doesn't use VarGet
|
||||||
goto SecretBase_EventScript_PutAwayDecorationLoop
|
goto SecretBase_EventScript_PutAwayDecorationLoop
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user