Okay so I have this code:
if global.indungeon=0{
vx = view_xview[0]
vw = view_wview[0]
vy = view_yview[0]
vh = view_hview[0]}
-This code sets the boundaries for the view to stay in, for scrolling purposes.
-The view size is 160x128
-"global.indungeon" is a variable that determines whether you're in a dungeon or not.
The problem is that I want to make it so when you are in a dungeon, the rooms are 240x176 and the view can move inside these boundaries, but I have no idea how I would set that up... any help?